Hi everyone,

I've only a short question regarding the pro and cons of separate storing all established sessions in a separate Hashmap. The background for this is, that each device (client) has a unique id, which is also available on the serverside. From this side it would make sense to store the sessions with it's keys in a hashmap, so that questions from any webclient for a explicit device could very quickly retrieved over this mapping.

On the other side I think I remember, that in older discussion threads somybody said, that such programming behaviour wouldn't be good and it would be better to search a given session over getManagedSessions() and a attribute on the session itself.

So what do you think? What would you recommend?

Any help would be very appreciated.

Thanx in advance
Michael

Reply via email to