If I enable session timeouts via settings.SESSION_COOKIE_AGE I get the following when accessing my login/logout page:
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/servers/ basehttp.py", line 278, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.5/site-packages/django/core/servers/ basehttp.py", line 635, in __call__ return self.application(environ, start_response) File "/usr/lib/python2.5/site-packages/django/core/handlers/ wsgi.py", line 243, in __call__ response = middleware_method(request, response) File "/usr/lib/python2.5/site-packages/django/contrib/sessions/ middleware.py", line 32, in process_response expires_time = time.time() + max_age TypeError: unsupported operand type(s) for +: 'float' and 'str' I've tried clearing my cookies to see if that has any effect, unfortunately it doesn't. If I remove SESSION_COOKIE_AGE then authentication works fine, but obviously, sessions do not time out. I'm using Django 1.0.2 Is this a bug or am I doing something wrong? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---