Michael Wechner wrote:

Hi

It seems to me that we could implement the feature of

"showing logged-in users" with

http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servletapi-p2.html

(was recently posted by Reinhard Poetz on the Cocoon mailing list)


we could add to the web.xml something like

<listener>
 <listener-class>org.apache.lenya.cms.servlet.UserLogger</listener-class>
</listener>

and implement

public class UserLogger implements HttpSessionListener {
...


e.g. http://java.sun.com/webservices/docs/1.0/tutorial/doc/Servlets4.html#64218 http://livedocs.macromedia.com/jrun/4/Programmers_Guide/servletlifecycleevents4.htm


Michi

--
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to