Ticket #3137: session_docs.diff

File session_docs.diff, 782 bytes (added by Rob Hudson <treborhudson@…>, 18 years ago)
  • docs/sessions.txt

     
    2323      run ``manage.py syncdb`` to install the single database table that stores
    2424      session data.
    2525
     26Note that the ``django_session`` table will not purge itself of expired
     27sessions.  You will likely want to set up an external script to purge expired
     28sessions on a regular basis.  See the script in the source at
     29``django/bin/daily_cleanup.py`` as an example.
     30
    2631If you don't want to use sessions, you might as well remove the
    2732``SessionMiddleware`` line from ``MIDDLEWARE_CLASSES`` and ``'django.contrib.sessions'``
    2833from your ``INSTALLED_APPS``. It'll save you a small bit of overhead.
Back to Top