Hi,

You can also check out dev.opendating.org/javadoc/ .  It does exactly
that as well. SessionListener deletes user session record when session
is destroyed.

Kind Regards,
adam

On 5/4/06, Mike Snare <[EMAIL PROTECTED]> wrote:
That's what I do, and it works for me.

-Mike

On 5/4/06, James Carman <[EMAIL PROTECTED]> wrote:
> Perhaps you can key your logged in user list (make it a map) by the session
> id?  Wouldn't that work?
>
> -----Original Message-----
> From: Oscar Picasso [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 04, 2006 12:54 PM
> To: Tapestry users
> Subject: Re: List of logged users
>
> I have tried to implement the HttpSessionListerner solution.
>
> I have a slight problem. In the HttpSessionListener.destroy method I need to
> get a session scoped "user" state object.
>
> This "user" state object is then removed from the list of currently logged
> users. It works fine except I get an IllegalStateException warning.
>
> I guess that's because when reaching the destroy method, the session has
> already been invalidated.
>
> How to avoid this warning ?
>
>
> ---------------------------------
> New Yahoo! Messenger with Voice. Call regular phones from your PC and save
> big.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



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

Reply via email to