Last post Apr 18, 2008 10:15 AM by Jin-Yu Yin - MSFT
Apr 14, 2008 09:27 AM|mmalaka|LINK
I am working on ASP.NET (C# VS2005) application which use AJAX. I added the following code in Global.asax.cs page to check the session time out
protected void Session_Start(Object sender, EventArgs e)
if (Context.Session != null)
string cookieHeader = Request.Headers["Cookie"];
if (!String.IsNullOrEmpty(cookieHeader) && cookieHeader.IndexOf("ASP.NET_SessionId") >= 0)
createResponse: function(r, noContent) function, the SessionTimeOut.htm is blank
Apr 18, 2008 10:15 AM|Jin-Yu Yin - MSFT|LINK
Thank you for your help!
As far as I know, we cann't use response.redirect in application level.
If you have further questions, let me know!