Index: django/conf/global_settings.py
===================================================================
--- django/conf/global_settings.py	(revision 7299)
+++ django/conf/global_settings.py	(working copy)
@@ -278,6 +278,7 @@
 ############
 # SESSIONS #
 ############
+import tempfile
 
 SESSION_COOKIE_NAME = 'sessionid'                       # Cookie name. This can be whatever you want.
 SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2               # Age of cookie, in seconds (default: 2 weeks).
@@ -287,7 +288,7 @@
 SESSION_SAVE_EVERY_REQUEST = False                      # Whether to save the session data on every request.
 SESSION_EXPIRE_AT_BROWSER_CLOSE = False                 # Whether sessions expire when a user closes his browser.
 SESSION_ENGINE = 'django.contrib.sessions.backends.db'  # The module to store session data
-SESSION_FILE_PATH = '/tmp/'                             # Directory to store session files if using the file session module
+SESSION_FILE_PATH = tempfile.gettempdir()               # Directory to store session files if using the file session module
 
 #########
 # CACHE #
