Expire Content

  • Thread starter Thread starter Carlos Cordon
  • Start date Start date
C

Carlos Cordon

How do I expire page content.

I have a site in wich the users log on and can make some queries to a
database, but after the log out if the hit the back button all the
information is displayed and it shouldn't. How can I expire that content?

Thanks
 
To prevent caching use this code:

Response.Expires = 0
Response.Cache.SetNoStore()
Response.AppendHeader("Pragma", "no-cache")
 
Back
Top