feanyloarravy
New Member
I have a intranet portal that have link to multiple web portal as well.for example i have intranet portal mainweb.com(build in java) it has link to to other iis websitelink1:8181/ and link2:4545/ (build in asp.net, C#) .When every i click first time on link1 get session expire and on second click it works fine. again i click on link2 then link1 i get session expire.I have written below code on page pre load...HttpContext ctx = HttpContext.Current;\[code\] // check if session is supported if (ctx.Session != null && ctx.Session.IsNewSession) { // If it says it is a new session, but an existing cookie exists, then it must // have timed out string sessionCookie = ctx.Request.Headers["Cookie"]; if ((null != sessionCookie) && (sessionCookie.IndexOf("ASP.NET_SessionId") >= 0)) { Session.Abandon() ; ctx.Response.Redirect("~/sessionexpire.aspx"); } }\[/code\]It work fine in IE but getting session expire issue in Chrome browser. According to me there is issue with Chrome cookies. Chrome does not kill cookies once browser close.I did lots of R&D but did not find any solution. please help me out, it is very urgent.... ThanksShrwan