On Tue, Mar 24, 2009 at 10:33 AM, Kumar <hihir...@gmail.com> wrote:
> I just came to know about this classes SimpleCookie and SmartCookie.
> I could get that usage. But I didn't get the difference between these
> classes?
> Can anybody please tell me what is the difference between this classes?

SmartCookie allows cookies to include objects other than strings. It
uses the pickle module to serialize and deserialize the objects.

You should never unpickle untrusted objects, it is a security hole.
For this reason SmartCookie is not recommended and it is deprecated.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to