Hey Potter,Have you tried using a different browser (like FireFox or Chrome) for the second instance. I have had problems with IE, even a second seperate instance of it, sending back the original cookie which would for sure cause what you are seeing. Using a different browser or a different machine would insure that you are indeed using two sessions.
From what little you describe here, it seems you are understanding sessions correctly. Can you post some code so we can take a closer look at how you initiate the sessions?
Marty
It seems that I only understand about half of how to use sessions in Westwind. I have evidently have sessions turned on because I enable use set session and get session successfully but now that I have multiple users accessing the site is become obvious that I’m not doing this correctly.
When I ran two sessions of my browser and logged in as two different people the first person was showing up with the same information as the second one. When I looked at the table wwsession I saw only one record even after both of those people had logged out.
The first thing I make a user do is give me their email address and password and I look them up in a FoxPro table to make sure that they are legitimate. Once I determined that I want to create a session for them so that I can store their access information. Would it be in this code that I issue a new session command? If I do, I assume that Westwind adds a new record to the wwsession table, but how do I get access to the session ID that is assigned? If there are multiple sessions open from multiple people logging in the same time and is Westwind know which entry in wwsession is to be used for a setsessionvar request?
![]()