Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically refresh page without wiping vars

Status
Not open for further replies.

johnv20

Programmer
Joined
Sep 26, 2001
Messages
292
Location
US
Hi,
does anyone know a way to automatically refresh a page without blasting the strings which were loaded when the page was loaded ie. var something = String((Request("something")); ?

I have tried using the http-eqiv="Refresh" but to no avail

Thanks
 
When you refresh you should still have the form data, but all of your ASP variables are gone because the ASP already finished processing and released the memory. The ASP page should re-execute using the exact same form information as was originally passed to it.
Once a page has been fully sent to the client requesting it, the server-side portion of the execution is finished and all variables are released to clean up memory.
I was unsure whether you were asking about request data or string variables, so I hope the above clears it up a little.
-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :P
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top