Hello,
I am currently playing with cherrypy sessions, and recovery
from
crash/failures.
My settings:
server.socket_port = 1234
server.thread_pool = 10
tools.sessions.on = True
tools.sessions.storage_type = "file"
tools.sessions.storage_path =
"/usr/local/Test/CherryPy/SessionData"
tools.sessions.timeout = 60
I start the tp main loop, and all is well. I access my login
page, then
my app, and all is good.
I then remove the session file, and try to access my
application
without logging in again, and cherrypy does not respond to
my request.
The browser hangs. strace on cherrypy reveals that it is
still running,
but not responding to my request at all.
I was hoping that if somehow the session file got mangled or
disappeared altogether, that cherrypy could recover from
this. But it
looks like it doesn't. I exit the browser, and try to get
back into the
login screen, and the browser still hangs.
I was hoping cherrypy would treat this as a new session
(empty session
data). Is this a reasonable expectation?
Thank you,
Gloria
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|