[python-win32] Session object in IIS ASP Python script?
Brian Brown
brian at assess.net
Thu Jul 22 16:53:59 CEST 2004
Quoting "Craig H. Anderson" <craig_gcs at qwest.net>:
>
> I am attempting to mix some Python ASP pages with an existing
> VBScript ASP site. I have been unable access data on the Session
> object. Can anyone provide an example of how to do this?
>
To set a Session variable from Python/ASP:
Session.SetValue("SomeVariableName", "SomeVariableValue")
and to use an already set Session var:
myLocalVar = Session("SomeVariableName") # looks like the VB way
hth,
Brian
/---------------------------
AbleLink Technologies, Inc.
Cognitive Support Technology
http://www.ablelinktech.com
More information about the Python-win32
mailing list