[mod_python] mod_python.Session returns Dictionary?

Chris Jackson christopher.jackson at gmail.com
Tue Jan 11 16:59:46 EST 2005


I read that mod_python.Session returns a subclass of dict.  Therefore, if I do:

sess = Session(req)

then I should be able to do: 

sess['mykey'] = myvalue right?

Furthermore if myvalue was a class with methods, then I could do:

sess['mykey'].mymethod() right?

~= Chris =~


More information about the Mod_python mailing list