|
eriweb
|
 |
Posted: Tue Jul 14, 2009 6:20 pm |
|
 |
 |
 |
 |
Hello all,
I have an asp.net search page application. The process is the user enters the search criteria, clicks on the search button, on the same page results are displayed, and user can click on results for a detailed view of each item. The detailed view is on another page, and there is a javascript link on this page to take user back. The problem is when clicking the back link the search results are no longer there. Is there a way I can make it so the search results would still be there?
Thanks in advance.
|
|
|
|
whitesites
Forum Regular
| Joined: 05 Jul 2004 |
| Posts: 310 |
| Location: Houston, TX |
|
 |
Posted: Tue Jul 14, 2009 11:26 pm |
|
 |
 |
 |
 |
I would recommend the following
The search page should take your search criteria and then redirect to itself with the search criteria in the querystring ( URL encoded). Then setup your page to run the search from page load, and not a post back. Then on the details page just store your HTTP referrer into a session or cookie, then use that as the backlink, and not some javascript.
|
|
|