Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Session setup

$
0
0
Session setup
Web Connection
Session setup
10/31/2012
06:27:52 PM
3MT13KU71 Show this entire thread in new window
Gratar Image based on email address
From:
Potter Orr
To:
All 
Attachments:
None
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?


Viewing all articles
Browse latest Browse all 10393

Trending Articles