diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-09 03:54:45 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-09 03:54:45 -0500 |
| commit | fd5ae92bd218b72a7a923e406eee023afe024dc0 (patch) | |
| tree | 17fd402d2d06a0360f813e682e73bb780874a2a4 /docs/narr/sessions.rst | |
| parent | f383367b91b02b28e2beec8132241003aacbedfd (diff) | |
| download | pyramid-fd5ae92bd218b72a7a923e406eee023afe024dc0.tar.gz pyramid-fd5ae92bd218b72a7a923e406eee023afe024dc0.tar.bz2 pyramid-fd5ae92bd218b72a7a923e406eee023afe024dc0.zip | |
- All references to Pyramid-the-application were changed from :mod:`pyramid`
to :app:`Pyramid`. A custom role setting was added to ``docs/conf.py`` to
allow for this. (internal)
Diffstat (limited to 'docs/narr/sessions.rst')
| -rw-r--r-- | docs/narr/sessions.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/sessions.rst b/docs/narr/sessions.rst index 43cb78410..eea035975 100644 --- a/docs/narr/sessions.rst +++ b/docs/narr/sessions.rst @@ -14,10 +14,10 @@ Using The Default Session Factory --------------------------------- In order to use sessions, you must set up a :term:`session factory` -during your :mod:`pyramid` configuration. +during your :app:`Pyramid` configuration. A very basic, insecure sample session factory implementation is -provided in the :mod:`pyramid` core. It uses a cookie to store +provided in the :app:`Pyramid` core. It uses a cookie to store session information. This implementation has the following limitation: @@ -33,7 +33,7 @@ limitation: It is, however, digitally signed, and thus its data cannot easily be tampered with. -You can configure this session factory in your :mod:`pyramid` +You can configure this session factory in your :app:`Pyramid` application by using the ``session_factory`` argument to the :class:`pyramid.configuration.Configurator` class: @@ -149,7 +149,7 @@ Creating Your Own Session Factory --------------------------------- If none of the default or otherwise available sessioning -implementations for :mod:`pyramid` suit you, you may create your own +implementations for :app:`Pyramid` suit you, you may create your own session object by implementing a :term:`session factory`. Your session factory should return a :term:`session`. The interfaces for both types are available in |
