Prasenjit Das

notes on codes
posts - 12, comments - 0, trackbacks - 0

My Links

News

Twitter












Archives

Post Categories

Image Galleries

Login screen appears even if logged in

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

Print | posted on Thursday, April 22, 2010 6:09 PM | Filed Under [ asp.net ]

Powered by: