Why won't IIS generate a SessionId in the ASPState database when the default page loads?

At first I thought it wasn't storing SessionId's at all but it eventually does. The default page merely has a user field and password field. The moment the user clicks the Login Button the SessionId generates in the ASPState databse. Furthermore if I open a new tab and log in it doesnt generate a new SessionId.

On the C# end I caught the current SessionId after login and posted it to the user table so I can see what sessionId the user has and in fact both users have the same SessionId.

After testing it more and more last night I came to the same conclusion but still the same problem. I do not use LDAP or SQL Authentication (sql usernames) but rather validate against a table in the database to see if the username, roles and password match. I need a different SessionId for each user. Right now I can open a browser window and login and a SessionId is issued. If close the window and reopen the browser and log in with a different user the new user has the same SessionId. I'm not sure what to do being that I'm fairly new at this

The only reason they would be reused is a mistake in your code. Likely a static variable which is global to all users.

By any chance did you create your own authentication system instead of using Microsoft's 'Form Based Authentication'? There are two ways to use (one includes using your own data source) and if you use it properly it works great with no chance of session reuse.

First of all, clustering IIS is something you should rarely consider doing.
In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…

In the video, one can understand the process of resizing images in single or bulk. Kernel Bulk Image Resizer is an easy to use tool for resizing large number of images. One can add and resize multiple images with this tool in single go. The video sh…

To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…