Emulating a sessions in Netty server.

Karasko karas at uralweb.ru
Tue Apr 21 03:46:08 EDT 2009


Please help how to implement a session like behaviour on server.
Example: a user connect to the server, a unique ID is generated, than user
can be identified by this ID.

Can i use a ConcurrentHashMap to store this values ? Put on connect, remove
on connection close...

Or any advice ? :confused:
-- 
View this message in context: http://n2.nabble.com/Emulating-a-sessions-in-Netty-server.-tp2668498p2668498.html
Sent from the Netty User Group mailing list archive at Nabble.com.




More information about the netty-users mailing list