netghost
  •  netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
2012-01-15T16:47:54Z
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
2016-11-23T06:37:08Z
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

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

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved