Is there a module which redirects Anonymous users to user login form after submitting node form and saves the node only when user successfully logs into data?
Will I have to do it by $_SESSION if theres no module supporting the above functionality?
EDIT:- For anonymous user, I want to show node add form of custom content type. But when anonymous user fills all information and clicks submit, the control should go to login form and after user logs in then only the node should get saved with a confirmation message. So is there an existing module for above requirement.
EDIT2:- If the user doesnt logs in then the data should not be saved. So the data should get saved only when the user logs into the system after he is redirected to log in form. Even after he logs into the system after two days, then the data should not get saved.