# HG changeset patch # User paulb # Date 1093552676 0 # Node ID d4a528c5688f0456fecfb992f658e6615da02807 # Parent 6394cd977ce3fe954463f18fe2fea390635089a4 [project @ 2004-08-26 20:37:56 by paulb] Added an example of session support. diff -r 6394cd977ce3 -r d4a528c5688f examples/Webware/SessionsContext/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/Webware/SessionsContext/__init__.py Thu Aug 26 20:37:56 2004 +0000 @@ -0,0 +1,15 @@ +#!/usr/bin/env python + +""" +Webware context for the Sessions application (post Webware 0.8.1). +""" + +from WebStack.Adapters.Webware import WebStackURLParser +from Sessions import SessionsResource + +# NOTE: Initialising a shared resource. + +resource = SessionsResource() +urlParser = WebStackURLParser(resource) + +# vim: tabstop=4 expandtab shiftwidth=4