Skip to content

Commit

Permalink
Removed a legacy 'TODO' from django.middleware.sessions
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Sep 23, 2005
1 parent 1a5ada0 commit 8df0df6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion django/middleware/sessions.py
Expand Up @@ -66,7 +66,6 @@ def process_response(self, request, response):
session_key = request.session.session_key or sessions.get_new_session_key()
new_session = sessions.save(session_key, request.session._session,
datetime.datetime.now() + datetime.timedelta(seconds=SESSION_COOKIE_AGE))
# TODO: Accept variable session length and domain.
response.set_cookie(SESSION_COOKIE_NAME, session_key,
max_age=SESSION_COOKIE_AGE, domain=SESSION_COOKIE_DOMAIN)
return response

0 comments on commit 8df0df6

Please sign in to comment.