Geeks With Blogs
Daily dotnet {notes on codes}

HEHE it's a stupid problem, for those who care place the following on the load event of the master page or default

            Response.AppendHeader("Cache-Control", "no-cache"); //HTTP 1.1
            Response.AppendHeader("Cache-Control", "private"); // HTTP 1.1
            Response.AppendHeader("Cache-Control", "no-store"); // HTTP 1.1
            Response.AppendHeader("Cache-Control", "must-revalidate"); // HTTP 1.1
            Response.AppendHeader("Cache-Control", "max-stale=0"); // HTTP 1.1 
            Response.AppendHeader("Cache-Control", "post-check=0"); // HTTP 1.1 
            Response.AppendHeader("Cache-Control", "pre-check=0"); // HTTP 1.1 
            Response.AppendHeader("Pragma", "no-cache"); // HTTP 1.1 
            Response.AppendHeader("Keep-Alive", "timeout=3, max=993"); // HTTP 1.1 
            Response.AppendHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT"); // HTTP 1.1

 

It finally worked for me:)

Posted on Thursday, April 22, 2010 6:09 PM asp.net | Back to top


Comments on this post: Login screen appears even if logged in

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Prasenjit | Powered by: GeeksWithBlogs.net