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

ASP Expiration not working 1

Status
Not open for further replies.

disk42

Programmer
Nov 14, 2003
16
0
0
US
Hey,

I'm working on a picture upload site. I have 3 main pages:
1) Picture Type Choice
2) Upload Form
3) Thank You
There is a sessioned order number that is used throughout. It is created in (1) and cleared in (3). (2) and (3) check to see if the order number is still sessioned before they load. If the order number is not sessioned, then they redirect back to (1). The problem I am having is when a person is at (3) and clicks the back button, they still see the order form (cached, I guess) that they just uploaded, i.e. it is not redirecting to (1). I have tried (as seen in other threads on this site):

Response.Expires = -1
Response.Expires = 0
Response.ExpiresAbsolute = Now()
Meta tags

and none have worked. Does anyone know what may be causing this? I also turned off HTTP-Keep Alives (something else I saw on this site).
Thanks for any help,
Phil
 
Excellent! I put the ASP code from that site into my Order form page, and it worked. Thanks a bunch :)

Phil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top