Login screen appears even if logged in

Posted by Prasenjit on Geeks with Blogs See other posts from Geeks with Blogs or by Prasenjit
Published on Fri, 23 Apr 2010 05:09:07 GMT Indexed on 2010/04/23 6:13 UTC
Read the original article Hit count: 333

Filed under:

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:)

© Geeks with Blogs or respective owner