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
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
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.
3 matches
Mail list logo