Re: SESSION_EXPIRE_AT_BROWSER_CLOSE and normal cookie

2009-06-26 Thread pr
I thought that None is equal to 'forever'. Thanks. On 26 Cze, 01:41, humble wrote: > you didn't specify max_age in response.set_cookie('myname', data), > which assumes None by default. Therefore that cookie expires when > browsers closes. > > On Jun 25, 3:58 pm, pr

Re: SESSION_EXPIRE_AT_BROWSER_CLOSE and normal cookie

2009-06-25 Thread humble
you didn't specify max_age in response.set_cookie('myname', data), which assumes None by default. Therefore that cookie expires when browsers closes. On Jun 25, 3:58 pm, pr wrote: > Hello, > > When I set SESSION_EXPIRE_AT_BROWSER_CLOSE to True, Django > automatically remove

SESSION_EXPIRE_AT_BROWSER_CLOSE and normal cookie

2009-06-25 Thread pr
Hello, When I set SESSION_EXPIRE_AT_BROWSER_CLOSE to True, Django automatically remove not only my session cookie (sessionid) but also any others cookies creating by using response.set_cookie('myname', data). Why? I want to keep all cookies without session cookie. Thank You.