YAFLogo

netghost
  • netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
11 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
6 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
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button