tags:

views:

33

answers:

1

In my application I am using a session variable for saving UserGroupId for user management. I put the values to the session in login page and I access this in the another page for control the users. But this will make the UserGroupId to 0, by then the users cannot access the page without another login. This will happen in certain time interval. I placed this application in IIS. How can I solve this problem?

+1  A: 

You can set the session to sliding expiration in the web.config. You can also extend the timeout period in it.

ps. you need to work on your question description, is very hard to follow what you are actually asking (one of the votes to close is mine :( ...)

eglasius