1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/docs/SESSION.txt Sun Sep 05 15:51:44 2004 +0000
1.3 @@ -0,0 +1,19 @@
1.4 +Session Support in WebStack
1.5 +---------------------------
1.6 +
1.7 +Various frameworks do not support sessions. In order to provide primitive
1.8 +support for sessions within WebStack upon such frameworks, the
1.9 +WebStack.Helpers.Session module is used to provide a simple file-based session
1.10 +store. It is necessary to create a directory called WebStack-sessions in a
1.11 +particular location for the session store to function, and the location depends
1.12 +on the framework as summarised in the following table.
1.13 +
1.14 +Framework Location
1.15 +--------- --------
1.16 +BaseHTTPRequestHandler The directory where the server is run.
1.17 +CGI The directory where the handler resides.
1.18 +mod_python The server root (eg. /usr/local/apache2).
1.19 +
1.20 +Note that the WebStack-sessions directory must have the appropriate ownership
1.21 +and privileges necessary for the server/framework to write session files into
1.22 +it.