On Wed, May 18, 2011 at 2:04 PM, Mark Erbaugh <[email protected]> wrote:
> 2) Is there a way that a web page handler could terminate the web server, and 
> thus the webpy app? I'd like to have a link on one of the pages that says 
> terminate server.  I realize that this is unusual, but I've ported a desktop 
> app to webpy so that it can be multi-user and it would be nice if I could >

If it's a multi-user app, why would it have an option to terminate the
server? If you terminate the server, it will terminate any active
sessions.

A better way would be to store the server state for each session and
just prevent the app from serving normally when the state is
``terminated == True``.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to