I have these lines in my web.config file to manage Session. I want to know whether these lines are correct or not. As you can see it has a property enabled: Re-Generate Session ID on Expire. My application has been malfunctioning at certain intervals by
showing obsolete data in Grid. Does this code contains any lines which are responsibe for this?
rpk2006
Member
631 Points
631 Posts
Session definition in web.config file.
Feb 23, 2012 11:08 AM|LINK
I have these lines in my web.config file to manage Session. I want to know whether these lines are correct or not. As you can see it has a property enabled: Re-Generate Session ID on Expire. My application has been malfunctioning at certain intervals by showing obsolete data in Grid. Does this code contains any lines which are responsibe for this?
avinash_bhud...
Contributor
2881 Points
517 Posts
Re: Session definition in web.config file.
Feb 23, 2012 11:13 AM|LINK
Change your mode from InProc to StateServer.
rpk2006
Member
631 Points
631 Posts
Re: Session definition in web.config file.
Feb 23, 2012 11:22 AM|LINK
How it can help sort my problem discussed here? What is the difference between the two and how the existing Mode might be troubling me?
avinash_bhud...
Contributor
2881 Points
517 Posts
Re: Session definition in web.config file.
Feb 23, 2012 11:26 AM|LINK
Please refer this article.
http://msdn.microsoft.com/en-us/library/87069683%28v=vs.71%29.aspx
It has InProc,StateServer,SQLServer session modes discussed.
rpk2006
Member
631 Points
631 Posts
Re: Session definition in web.config file.
Feb 23, 2012 12:04 PM|LINK
I just want to know whether the code I posted has anything to related with my problem.
roopeshreddy
All-Star
20277 Points
3349 Posts
Re: Session definition in web.config file.
Feb 23, 2012 02:17 PM|LINK
Hi,
Your code is absolutely fine! There is no problem with that!
Hope it helps u...
Roopesh Reddy C
Roopesh's Space