~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to docs/topics/http/sessions.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.1.12 upstream) (29.1.1 maverick-security)
  • Revision ID: james.westby@ubuntu.com-20101012113435-yy57c8tx6g9anf3e
Tags: 1.2.3-1ubuntu0.1
* SECURITY UPDATE: XSS in CSRF protections. New upstream release
  - CVE-2010-3082
* debian/patches/01_disable_url_verify_regression_tests.diff:
  - updated to disable another test that fails without internet connection
  - patch based on work by Kai Kasurinen and Krzysztof Klimonda
* debian/control: don't Build-Depends on locales-all, which doesn't exist
  in maverick

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _topics-http-sessions:
2
 
 
3
1
===================
4
2
How to use sessions
5
3
===================
15
13
Enabling sessions
16
14
=================
17
15
 
18
 
Sessions are implemented via a piece of :ref:`middleware <ref-middleware>`.
 
16
Sessions are implemented via a piece of :doc:`middleware </ref/middleware>`.
19
17
 
20
18
To enable session functionality, do the following:
21
19
 
56
54
   Django 1.0 did not include the ``cached_db`` session backend.
57
55
 
58
56
To store session data using Django's cache system, you'll first need to make
59
 
sure you've configured your cache; see the :ref:`cache documentation
60
 
<topics-cache>` for details.
 
57
sure you've configured your cache; see the :doc:`cache documentation
 
58
</topics/cache>` for details.
61
59
 
62
60
.. warning::
63
61
 
412
410
Settings
413
411
========
414
412
 
415
 
A few :ref:`Django settings <ref-settings>` give you control over session behavior:
 
413
A few :doc:`Django settings </ref/settings>` give you control over session behavior:
416
414
 
417
415
SESSION_ENGINE
418
416
--------------