send back to view action if post variables code and session_id does not exist while generating code card.