Posted on: 12/10/2014 4:23:48 AM | Views : 606

I would rather use session variables than querystring as the main thing I want to persist is a SQL statement. I have a search button on my main menu on the master page. This opens a bootstrap modal on which there is a search form with various criteria. The user makes their choices and clicks a button. The code behind creates a SQL string and then redirects to a page made for presenting the results of the search.
I have two problems;
1. The time it takes from the button click to the new page showing is an average of 8 seconds, and this is on my development machine (Google eat your heart out).
2. The session var that did contain the SQL string is empty when the new page opens.
I've tried response.redirect with the path and true or false as the second parameter. Same with server.transfer and server.execute. Some give errors that don't get caught in try-catch. None allow the persistence of session vars.
The only option I can think of, session ...

Go to the complete details ...