Expiring page immediately after leaving it...

G

Guest

How can I expire a page after I click on something that redirects me to
another page (either a link or a Submit button)? I load the page to be
expired via https.
I've tried several options I found on the web, including adding on
(OutputCache location="none") on my aspx page, using Session.Count, among
others. I even tried something that I found on
http://aspnet.4guysfromrolla.com/demos/ExpiringDemoA.aspx. But the page
"expires" if I refresh. If I hit "Back" and "Forward" it won't expire.

Any help is appreciated.
THanks.
VS2005 v2.0
 
C

Cowboy \(Gregory A. Beamer\)

You can set history with JavaScript so the back button does not work. You
can also set the page, using meta tags, to expire so it will not cache on
the client side.
 
G

Guest

Do you have some links that can help me?

Cowboy (Gregory A. Beamer) said:
You can set history with JavaScript so the back button does not work. You
can also set the page, using meta tags, to expire so it will not cache on
the client side.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top