I am doing a database search from inside my class (vb)
file. I get back lines of data which I would like to
display in a new HTML page.
After I complete my search and find the records, I want to
immediately display the items without having to go to the
database again. So I do a response.redirect
("schoutput.aspx") The new serach screen appears but my
data (the list of my found items) is lost.
I traced the code in the debugger and saw that before the
new URL is displayed, a new PageLoad is done on the
calling (search) page. That clears all of my variables
that were loaded with new values.
On the Search page, Apparantly a total of 3 pageloads are
done:
1. In the beginning and before search criteria prompts are
displayed.
2. Seconds after the search Criteria is entered (this is
where data is located and my variables are loaded).
3. Third after I do the response.redirect call.
When this last PageLoad is done all of my variables from
#2 are reset.
Do you know how I can redirect the data to the new page
without losing the data.
The new page is associated with the class (the calling VB
module) and does see the data before it's reset.
Thanks
|