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 <[email protected]> wrote: > 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

