[mod_python] Sessions (Aaaarggghhhh!!)

Graham Dumpleton grahamd at dscpl.com.au
Tue Jan 17 00:33:59 EST 2006


Luis M. Gonzalez wrote ..
> Thank you Jim!!
> 
>  You were right.
>  Instead of saving the cart items into a cart instance, I did it into a
> simple dictionary.
>  I also saved the dict only once at the end the code block.

To provide some background as to why saving class objects is not good,
have a read of:

  http://www.dscpl.com.au/articles/modpython-005.html

Graham


More information about the Mod_python mailing list