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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect page is not refreshing

Status
Not open for further replies.

giridhari

Programmer
Feb 13, 2005
1
HU
Hello,
I am implemting an asp page with Server side VB Script and Client side java script. In the VB Script, if certain conditions met, i am directing to the same page with different parameters.

for ex:
ASP File Name Test.asp
Contents of Test.asp
..
..
If i =1 then
Response.Redirect Test.asp
end if
..



My question here is that, during the redirect operation, the browser is displaying the cached information not the Redirected page
Thanks for your help
Giri
 
Giri,

In the ASP page that you do not want cached, you will need to put in

<%response.expires=0%>

to keep it from cacheing.
Also on your redirect ASP page, try using

<%response.buffer=true%>


FengShui1998
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top