summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-09-19 20:03:07 +0000
committerChris McDonough <chrism@agendaless.com>2009-09-19 20:03:07 +0000
commit6e5fac7e001fbae3f27411c57f84474f77408665 (patch)
treeabf7b2fcc367370e0b50ada0c6a9ac7f79d72ac7 /docs/tutorials
parente2c34fe2e8e44fb03cecd46cc7607d4539f59ded (diff)
downloadpyramid-6e5fac7e001fbae3f27411c57f84474f77408665.tar.gz
pyramid-6e5fac7e001fbae3f27411c57f84474f77408665.tar.bz2
pyramid-6e5fac7e001fbae3f27411c57f84474f77408665.zip
Typos.
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/zodbsessions/index.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/tutorials/zodbsessions/index.rst b/docs/tutorials/zodbsessions/index.rst
index 362fd7e1d..fb8996ef4 100644
--- a/docs/tutorials/zodbsessions/index.rst
+++ b/docs/tutorials/zodbsessions/index.rst
@@ -7,7 +7,7 @@ Sessions are server-side namespaces which are associated with a site
user that expire automatically after some period of disuse.
If your application is ZODB-based (e.g. you've created an application
-from the ``bfg_zodb`` paster template, or you've follow the
+from the ``bfg_zodb`` paster template, or you've followed the
instructions in :ref:`zodb_with_zeo`), you can make use of the
``repoze.session`` and ``repoze.browserid`` packages to add
sessioning to your application.
@@ -83,7 +83,9 @@ Configuration
use = egg:repoze.browserid#browserid
secret_key = my-secret-key
- Replace "my-secret-key" with any random string.
+ Replace ``my-secret-key`` with any random string. This string
+ represents the value which the client-side "browser id" cookie is
+ encrypted with, to prevent tampering.
If a ``pipeline`` named ``main`` does not already exist in the
paste ``.ini`` file , add a ``pipeline`` section named ``main``.
@@ -151,9 +153,9 @@ Configuration
return session
Note in the call to ``SessionDataManager`` that '3600' represents
- the disuse timeout (5 minutes == 3600 seconds), and '5' above
- represents a write granularity time (the session will be marked as
- active at most every five seconds). Vary these values as necessary.
+ the disuse timeout (5 minutes == 3600 seconds), and '5' represents
+ a write granularity time (the session will be marked as active at
+ most every five seconds). Vary these values as necessary.
#. Whenever you want to use a session in your application, call this API: