
May 25th, 2004, 01:40 PM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 6
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Session Management with Mod_Python
Hey thanks in advance for the help,
I've been trying to get sessions workin for a web app that i'm working on but can't seem to get it to pass values on. So i've got a few questions.
1. I know upon the word 'session' in your code a session object is created. To reference that session do you simply call it session? b/c wouldn't that then start a new session? Or do you need to write a:
sess = session()
type of line?
2. when assigning values to a session is this the correct syntax?
session['username'] = str(response.getfirst('username')
3. Is there anyplace special ie httpd.conf taht you need to alter to allow for sessions to be stored? because I can't seem to find any of the session files on my HD.
thanks hopefully this might make my headache go away!!
brad
|