YAFLogo

netghost
  • netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
13 years ago
i am having problem login out of ma site while i am on the default.aspx page it just keeps refreshing ... but from other pages it works fine
Sponsor
Chetan Bavarva
8 years ago
The correct minimum set of headers that works across proxies

How to set it?


Response.AppendHeader("Cache-Control", "no-cache, no-store, must-revalidate");
Response.AppendHeader("Pragma", "no-cache");
Response.AppendHeader("Expires", "0");

Using ASP:


response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate"
response.headers["Pragma"] = "no-cache"
response.headers["Expires"] = "0"

Chetan Patel

Custom software company India 

iFour Technolab Pvt. Ltd