Jann Forrer wrote:

I did try to do this starting with a simple example i.e. a listener which
only counts the active sessions. This works quite well now but i noted
that a logut did not invalidate the session (meaning that if a user did
log out i still had the same number of sessions).
The reason is that session.invalidate(); is not called in logout.xsp. If
i add it to login.xsp:

<xsp:content><uri><xsp-request:get-context-path/><xsp:expr>uri</xsp:expr></uri></xsp:content>
        }
      }
+      session.invalidate();
    }
  </xsp:logic>
</logout>

i got the proper number of sessions.


very cool. Has your CLA been accepted? Time to get started checking stuff ;-)


Is this a bug or is
session.invalidate not called on purpose?



I think it was just forgotton. If nobody disagrees I would suggest that we add the invalidation.

Michi

Jann

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






--
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