[albatross-users] SessionAppContext handling session timeout / deleting.
Tyler Retzlaff
rtr at softelsystems.com.au
Mon Jun 4 23:33:46 EST 2007
Good day,
I'm using SessionAppContext/SimpleSessionApp for server side
sessions. After a server
session times out and I receive a subsequent request from a client
(which had a session)
as a result a SessionExpired exception is raised (quite correctly
since it timed out) which
I guess I have to catch at app.run(Request()).
What is the right way to delete the old session and return a selected
template page?
I notice your FAQ has an entry describing how to delete a session
when I have a handle
to the context. But in this case I don't have a handle to the
context because
of where I am handling the exception and presumably because if it is
expired it never got
instantiated for that request...
Feel free to point me to relevant documentation (I did look but
nothing jumped out at
me that seemed appropriate) but I am new to Albatross and may have
missed it.
Thanks
Tyler
More information about the Albatross-users
mailing list