Last post Aug 27, 2015 02:10 AM by rakesh_j_gupta
Aug 27, 2015 12:42 AM|rakesh_j_gupta|LINK
Why session start event in global.asax file gets fired on every request.when i click on asp menu control session start event fires this should not to be happened.
any help will be appreciated.
Aug 27, 2015 01:30 AM|francissvk|LINK
What is the timeout minutes you have set in the "Web.config" file? By default it given by 20 minutes.
Seems that for every click, the session id expires and the new session id created. In order to check the session id you can include the below line, under the menu item click event or page load event:
string sessionId = System.Web.HttpContext.Current.Session.SessionID;
The values you get should be same for all the menu item click.
Hope this helps!
Aug 27, 2015 02:10 AM|rakesh_j_gupta|LINK
Thanks for your reply.
I got the solution i removed the below tag in web.config file
<httpCookies httpOnlyCookies="true" requireSSL="true" lockItem="true"/>