We have the skeleton of a website with one master page and various aspx forms. The master page contains <a href> tags to navigate around the site, each of which have a bunch of textboxes and other server controls.
We need to allow the user to navigate back and forth between pages (not all will be visited), enter data, and then click a button that will fire a process that saves this data to a database consisting of multiple tables. The best way to think of what we are looking for is the Tab Control, where data can be entered, edited, and will persist, between tabs (our pages, in this analogy) before the data is stored.
We can't use "Save" buttons on each form because we need the same GUID (uniqueidentifier) to tie tables together.
I figured on using session variables to store the data until the data was posted to the database. If they need to go back to the page, the session variable would re-populate the form.
The problem is, after a user has entered data in one page, navigating to another page using the master page links doesn't fire off any events that I can use to store the values in session variables. So, without having to use a temporary database of some sort, how do I get these values into these session variables? NOTE that it is quite possible that multiple users could be using the site at the same time.
Thanks!
Start Free Trial