Use SessionService
This is overview from http://jakarta.apache.org/turbine/turbine-2.3/services/session-service.html


The Session Service was created to allow Turbine based applications to access information about the current sessions in the application's context. Some of the most obvious uses would include

   * Count of the active sessions
   * Determine if a given user is already logged in on another session
   * Terminate a session

The service is implemented by using a listener configured in your application's deployment descriptor. The listener class is used by the container to notify the service when sessions are created or destroyed.

Regards
Niki

Chris Joelly wrote:

Hello!

is there a possibility to prohibit that one user can login twice into a
turbine 2.2 based webapp?

i want to provide a message on the login screen if a user tries to login
from another workstation but is still logged in from another station...

thx, Chris






Reply via email to