Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #857 -- Changed default session cookie name from hotclub to ses…

…sionid. Django is now 10% less pornish.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e6745d34202d02bc48b2c9f133f389cf8a4cddb3 1 parent 06a2dc4
Adrian Holovaty authored December 09, 2005
2  django/conf/global_settings.py
@@ -193,7 +193,7 @@
193 193
 # SESSIONS #
194 194
 ############
195 195
 
196  
-SESSION_COOKIE_NAME = 'hotclub'           # Cookie name. This can be whatever you want.
  196
+SESSION_COOKIE_NAME = 'sessionid'         # Cookie name. This can be whatever you want.
197 197
 SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks).
198 198
 SESSION_COOKIE_DOMAIN = None              # A string like ".lawrence.com", or None for standard domain cookie.
199 199
 SESSION_SAVE_EVERY_REQUEST = False        # Whether to save the session data on every request.
6  docs/sessions.txt
@@ -215,13 +215,11 @@ domain cookie.
215 215
 SESSION_COOKIE_NAME
216 216
 -------------------
217 217
 
218  
-Default: ``'hotclub'``
  218
+Default: ``'sessionid'`` (**Django development version.** Previous default was
  219
+``'hotclub'``, which was deemed to pornish.)
219 220
 
220 221
 The name of the cookie to use for sessions. This can be whatever you want.
221 222
 
222  
-``'hotclub'`` is a reference to the Hot Club of France, the band Django
223  
-Reinhardt played in.
224  
-
225 223
 SESSION_SAVE_EVERY_REQUEST
226 224
 --------------------------
227 225
 
6  docs/settings.txt
@@ -525,14 +525,12 @@ domain cookie. See the `session docs`_.
525 525
 SESSION_COOKIE_NAME
526 526
 -------------------
527 527
 
528  
-Default: ``'hotclub'``
  528
+Default: ``'sessionid'`` (**Django development version.** Previous default was
  529
+``'hotclub'``, which was deemed to pornish.)
529 530
 
530 531
 The name of the cookie to use for sessions. This can be whatever you want.
531 532
 See the `session docs`_.
532 533
 
533  
-``'hotclub'`` is a reference to the Hot Club of France, the band Django
534  
-Reinhardt played in.
535  
-
536 534
 SESSION_SAVE_EVERY_REQUEST
537 535
 --------------------------
538 536
 

0 notes on commit e6745d3

Please sign in to comment.
Something went wrong with that request. Please try again.