Re: Strange cookie problem

2008-07-10 Thread Ahmad Al-Ibrahim
I have the same issue but with the cookie key name I'm trying to set a cookie with name usercookie[username], but it seems using square brackets in the cookie key name makes a problem here, is there any work around for this problem? >>> SimpleCookie('usercookie[username]=speedy; path=/; domain=my

Re: Strange cookie problem

2008-05-15 Thread Marty Alchin
On Thu, May 15, 2008 at 12:29 PM, Chris Farley <[EMAIL PROTECTED]> wrote: > My Django app needs to read a cookie that is written by a JavaScript > script in another part of my website. The JavaScript code that > generates the cookie is something like this: > > document.cookie='ShoppingCart=[7008|2

Strange cookie problem

2008-05-15 Thread Chris Farley
My Django app needs to read a cookie that is written by a JavaScript script in another part of my website. The JavaScript code that generates the cookie is something like this: document.cookie='ShoppingCart=[7008|2][7120|3]; path=/; domain=mydomain.com'; I can see the cookie and its content from