Jann Forrer wrote:
Hi

I finally found some time to implement a usecase in 1.4 which shows all
users who are logged in and it basically work.
The problem is that there is no information in  the session to which
publication an identity belongs to. Only the Identity  and the History is
stored in the session. However in the admin area only the logged-in users
of the respective publication should be listed. I see two possible soltuion:

1.) storing the publication-ID in the session. You can e.g. set
    the attribute <publicationID> in the login usecase.

2.) Determine the publication-ID from the HISTORY which is stored in the
    session anyway.

i like 2) better because it doesn't add more data to the session. did you know that sun recommends a limit of 2Kb for the session size?

deserialization of session objects is very expensive, and session size has a direct impact on performance.

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

Reply via email to