Allow anonymous users to post content but require login/register before it is saved I have a website with a node form displayed as a block on the frontpage. This is done to make sure users get down to posting content easily and quickly.

However I'm interested in saving details of the poster so they can later be notified of comments, etc to their node. I would like for the user to then be required to login or register before their content is posted.

So from nodeform block, they click Save and then they are asked to login or register..After that content is saved.

Is there any module that does this, or what approach can I take to code my own? 

Thanks
This module might be worth looking at as well: Create and Register. Below are some more details about this module, and how it works (summary from the module's project page).


  This module allows an anonymous user to create the content. After
  doing so the user must login (or registers to the site). Here are some
  more details about the process to do so:
  
  
  anonymous user creates a content.
  the user will be redirected to the login page (if you set it on the settings form) after the user finished the node creation.
  the user registers or logs in.
  the created node(s) will be assigned to the user after logging in.