From: Ian Lewis <ianmle...@gmail.com>
Date: Fri, 25 Sep 2009 10:56:42 +0900
Local: Thurs, Sep 24 2009 9:56 pm
Subject: Re: Adding signing (and signed cookies) to Django core
On Fri, Sep 25, 2009 at 6:33 AM, Chris Beaven <smileych...@gmail.com> wrote: The problem is that you don't know which cookies are signed and which > +1 on the concept of a signing module. > On Sep 25, 7:48 am, Marty Alchin <gulop...@gmail.com> wrote: >> The one downside to using get() directly, as opposed to an altogether > Adding my coat of paint to the shed... > Rather than a "request.unsign_cookie" method, provide a > For example: > # raises KeyError > # value == None > Personally, I don't see much point in specifically reporting on aren't for the reasons posted earlier. So you don't know which cookies to put in SIGNED_COOKIES and which to put in COOKIES unless accessing COOKIES gives you raw values of ALL cookies and SIGNED_COOKIES attempts to unsign ALL cookies. That seems really clunky. You have to sign and unsign the cookies yourself in code which makes Ian You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||