Last post Jan 22, 2015 10:49 AM by Khuram.Shahzad
Jan 15, 2015 03:56 PM|bchernick|LINK
I have a web page in which I set a session variable and then do a Response.Redirect to another page. The two pages have a master page in common. When it gets to the second page, the session variable is null. This
only happens in Internet Explorer 10 and 11. Everything works fine in Chrome and Firefox. The web app is written in C# and Dot Net 4.0.
The web app as a whole is based on Telerik Rad controls and both pages have Telerik controls.
I've been doing programming with Telerik controls for 2 years and this is the first time I've seen anything like this.
I've seen hints on the web that this could, in some general way, be Ajax related but I can't find anything specific.
Suggestions? In general, what could possibly cause this?
Jan 16, 2015 04:04 AM|Archer Wang|LINK
As far as I know, many reasons could cause your issue. I am not sure why you got this issue, maybe as you said, it was related with Ajax. I suggest that you could add a breakpoint at your code where you store the value into session, and debug it by yourself.
Also, you could refer to the below link for more information about why we loss session.
Hope this could be helpful to you.
Jan 19, 2015 09:42 AM|bchernick|LINK
It turned out that the problem was simply that the web site had an underscore in its URL which apparently causes problems in IE. I was not aware of this IE 'feature'.
(Unfortunately this problem was masking yet another IE problem which I will probably have to address in another forum post.)
Jan 22, 2015 10:49 AM|Khuram.Shahzad|LINK
If you hosted your website/app on web-farm environment or garden and you have set the session mode to "In Proc" as it is enabled by default than sure you will lost session values. because request passed from load balanacer and in case of In Proc it may not
goes to the server which have you session data.