It is possible if you define "logged in" as having accessed the website in the last X minutes. This is how log analysis tools define "sessions" anyways, so it should work ok. You probably don't want to log every time a user make a website request in the ZODB (slow, makes it bloat), but you could put this "clickstream log" in a SQL database or on a file. Alternatively (which I like) you can store it the servers memory only: fast, but doesn't work across multiple servers (ZEO). Bye, -- Bjorn -----Original Message----- From: Oleg Broytmann [mailto:phd@phd.pp.ru] Posted At: Wednesday, November 21, 2001 19:06 Posted To: Zope List Conversation: [Zope] logged in users Subject: Re: [Zope] logged in users On Wed, Nov 21, 2001 at 12:00:05PM +0100, Steffen Hausmann wrote:
ist there a posibility to view all users that are logged in on a zope server?
HTTP is a stateless protocol, i.e. a server (including Zope) does not track who is still logged in. There is no such thing as "list of users logged in". Oleg. -- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp. ru Programmers don't die, they just GOSUB without RETURN. _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )