Session variable in python

John Nielsen nielsenjf at my-deja.com
Wed Feb 9 01:57:30 CET 2000


You're probably not using 'SetValue' in  order to set
session/application values.

For example,

Session.SetValue('userID', userid)

sets the value for the userID (obviously).

The general format is:

Session.SetValue(the_key,the_value)

john




In article <87q726$8ir$1 at nnrp1.deja.com>,
  rchowd1 at my-deja.com wrote:
> How do we handle sessions in python (server side) ?
>
> Could you please explain with a simple example with a form
(client-side)
> and python (server-side).
>
> Thanks.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

--
nielsenjf at my-Deja.com


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list