Session variables?
Paul Rubin
http
Sun Apr 4 22:03:44 EDT 2004
Steve <nospam at nopes> writes:
> I'm trying to find a clean way of sharing variables across different
> python webpages and scripts and I need something like a session
> variable for each user. Is this possible in Python? I've been
> "pickling" stuff and this doesn't work at all with mutliple users as
> things get mixed up. Is there any clean way of doing this? Thanks,
One way is put all the variables into a browser cookie. You have to
be careful about security when you do that though. Don't use a pickle.
More information about the Python-list
mailing list