# HG changeset patch # User paulb # Date 1095613763 0 # Node ID f1a8001208e8b3f46bd222ac9aa7b07df486daa8 # Parent 1f2e7af9c71780abbeb6b95b136497755468baa2 [project @ 2004-09-19 17:09:22 by paulb] Added session storage notes. diff -r 1f2e7af9c717 -r f1a8001208e8 docs/CGI/NOTES.txt --- a/docs/CGI/NOTES.txt Sun Sep 19 00:00:43 2004 +0000 +++ b/docs/CGI/NOTES.txt Sun Sep 19 17:09:23 2004 +0000 @@ -11,3 +11,19 @@ permissions: chmod u+x examples/CGI/SimpleHandler.py + +-------- + +Session storage with CGI: + +The very simple SessionStore class provided in WebStack.Helpers.Session, and +used by the WebStack.CGI.Transaction class, requires that a directory be created +in the directories of the CGI programs being run with the name +"WebStack-sessions". Here are some example commands for doing this: + + cd examples/CGI + mkdir WebStack-sessions + chown username.groupname WebStack-sessions + +The given "username" and "groupname" correspond to the user and group the Apache +server assumes when running. diff -r 1f2e7af9c717 -r f1a8001208e8 docs/ModPython/NOTES.txt --- a/docs/ModPython/NOTES.txt Sun Sep 19 00:00:43 2004 +0000 +++ b/docs/ModPython/NOTES.txt Sun Sep 19 17:09:23 2004 +0000 @@ -61,3 +61,19 @@ The details of the application's deployment, including the exact pathname of the users file and the appropriate access policy, must obviously be defined according to the actual application concerned. + +-------- + +Session storage with mod_python: + +The very simple SessionStore class provided in WebStack.Helpers.Session, and +used by the WebStack.ModPython.Transaction class, requires that a directory be +created under the Apache server root with the name "WebStack-sessions". Here are +some example commands for doing this: + + cd /usr/local/apache2 + mkdir WebStack-sessions + chown username.groupname WebStack-sessions + +The given "username" and "groupname" correspond to the user and group the Apache +server assumes when running.