can you keep a viewstate in a session to retreive it later?
Posted on 2008-10-28
This is the scenario I'm facing:
We have a search page that (as you'd probably expect) allows users to specify search critera and presents them with a list of items. Then they select an item and go off following links all over the place and doing all kind of other things within the app. Once they have finished what they are doing and return to the search page, they want it to reload still containing the details of the last search they performed.
I was wondering if I could achieve this by saving the viewstate of the search page into a session object each time a search is performed, and reload it when opening the search page. Is this possible? Is there a better way to go about this? I'm struggling to find any information on how I might achieve it?