[mod_python] Session confusion

Graham Dumpleton grahamd at dscpl.com.au
Tue Feb 27 16:44:41 EST 2007


On 28/02/2007, at 6:26 AM, Jim Gallacher wrote:

> David Kramer wrote:
>>  Is that really the case?  Is there some rule about what can be  
>> stored in sessions and what cannot?
>
> For various reasons it's best to restrict your session data to  
> simple types such as lists, tuples, dictionaries, strings,  
> integers, etc.

Read:

   http://www.dscpl.com.au/wiki/ModPython/Articles/ 
IssuesWithSessionObjects

for some understanding of why one should restrict oneself to basic  
types.

Graham


More information about the Mod_python mailing list