| Set the user associated with this session. This will register the
user with the SessionManager .
If it is neccessary to prevent a user from logging on multiple times,
this can be accomplished by synchronizing on the
Sessionmanager object and enquiring about the number of
users associated with a session. It is then possible to delete other
sessions before adding a new session.
Parameters: user - The user object to associate with the session. exception: SessionException - If the user cannot be set. See Also: SessionManager.getSessionKeys(User) |