Hello,
I have problem with setting cookie expiration in Django. I have this 
code in view (I am using django.views.generic.list_detail):

   [...]
   ret = object_list(
       request,
       queryset = queryset,
       template_name = "journals/list.html",
       allow_empty = True
   )
   ret.set_cookie('last_interval', 'my_value', max_age=(60*60*24)*14)
   return ret

This code set cookie age to 14 days, so if I close browser and 
immediately open in, go to my URL, I could see this cookie variable 
still set.

But! This is true only for Firefox, not for MSIE7 (cookie will lost with 
restart of browser).

Am I doing something wrong? Do you have some similar experience with 
this browser?


Regards
Michal

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to