Score:0

IIS losing session variables

cn flag

I have a VB.Net website running on IIS8. There are about 200 users using the site.

I have a session variables which are kept from when the user logs in with the username and user permissions.

At random times during the day, with random users, the session variable becomes nothing. I know this as I do an insert into a database which includes the username. Also, on all page loads it checks for a user. So at random times during the day, users get logged out (as there is no valid username.)

The IIS server has a inactivity timeout of 20 minutes, the users can be logged while they are working. (i.e. they have been active within the last minute.)

There are no updates done to the site during the day.

Any help will be greatly appreciated!

Lex Li avatar
vn flag
There can be quite a few causes, so you need an experienced guy to take a look at your web app (with access to browser developer tools and/or source code). No answer can come from here with the little information above.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.