Could you create a global variable.
Have it check it, like we do with the response.flash stuff.
if the value exists then show a modal popup with js or something
similar.
Regards,
Jason Brower


On Tue, 2009-04-14 at 05:01 -0700, notabene wrote:
> Hint
> 
> You could save session-records to the database and se who has recently
> started a session (Modified Datetime). But it is difficult to notify
> the user - except when he calls a controller/function.
> 
> On Apr 14, 9:40 am, Marco Prosperi <marcoprosperi...@gmail.com> wrote:
> > hi all, how can I verify if there are users currently connected to my
> > web2py application? I just want to know if there is at least one. The
> > evolution of this question could be: how could I notify my app's users
> > that I will stop the application for maintenance?
> >
> > thanks for hints,
> > Marco
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to