Okay I know this seems dumb and I've tried to find this code in my personal library, but I just can't seem to make it work.
My problem is very simple. I have a screen with a username and password. Both are passed to a ASP process page that verifies the login information to a SQL database. If the login is a sucessful one, then the following Session variables are set
Session("UserID") = rs("zUserID") <-- Returns the primary key from the Users Table
Session("SessionID") = From another fuction
Once John Smith logs into the system, his browser is set with 2 session variables, UserID and SessionID. Here's how it works, the UserID is the User Idenfication to the login, but the SessionID is the Idenfication to this particular session.
Here's the scenero...I open the 1st IE window and login with Smith / Smith as the username and password everything works perfect.
Problem.. When I open an additional window (with the 1st IE window still open) and login with Smith / Smith, the Session variable (SessionID) of the 1st (IE) screen is updated to the the 2nd Session variable.
Basically what I want is if I have multiple logins with Internet Explorer (or others browsers) I don't want the Session Cookies from one session to talk to another sessoin.