Apr 17, 2011 at 7:12 AM
Edited Apr 17, 2011 at 8:22 AM
You needn't to custom session in SuperWebSocket.
There are two ways to handler websocket request:
1) CommandHandler: the website SuperWebSocketWeb use SuperWebSocket in this way
2) SubProtocol: the project SuperWebSocketTest works in this way. You can follow the code here:
I need it because I need to relate
session with an
object, because of that,
I prefer to
functions (Inheritance) instead
object. ¿Why I need it? Because every session is an user, and I need to save data from every user (and use this data...).
Thanks for answering.