[Zope] Sending an alarm message to all logged-in users

Dennis Allison allison at sumeru.stanford.EDU
Mon Oct 18 00:17:13 EDT 2004


Many Zope sysems (ours included) use authentication and maintain session 
information.  Logged in users are those for which we have session
information and which we believe (for some reason) are still active.

On Sun, 17 Oct 2004, Tino Wildenhain wrote:

> Hi,
> 
> Am So, den 17.10.2004 schrieb Dennis Allison um 17:52:
> > Occasionally I have wished for a mechanism that would allow me to write 
> > all logged-in users.  Of course, this could be acomplished with an
> > explicit test, but making the test costs a lot of overhead.   Is there a 
> > better way?
> 
> HTTP is stateless. There is no such thing like "logged in".
> Calls are only send from client to server, never the
> other way round. Thus, you cannot "send" something to all
> users.
> 
> You can only put your information in place and hope it
> gets picked up by the user. Control the process of picking
> up by means of session.
> 
> HTH
> Tino
> 



More information about the Zope mailing list