title: How in ASP.NET, do you deal with session and multiple tabs?
body: <p>I have written an application in ASP.net, that is designed to let the user add records to a database. The page is set up that when a user adds a record, the ID number of the newly added record is set in session, the page Response.Redirects to a "Thank you for submitting" page, then redirects back to the original page to allow further edits. Users can also use the Back button on this screen to go back to the original record adding page, which allows them to make edits to the data.</p>
  
  <p>However, I have found that storing the ID in session isn't a terribly good solution, as a user might try to create two documents in different tabs or windows.  I have also tried setting the ID in a literal control, but this causes the problem that when the user uses the Back button, the literal control isn't set to the ID, and new records get added instead of one being edited.</p>
  
  <p>Is there any kind of solution for this?</p>