Has anyone used the ServerSession attributes? I'm puzzled by the AttributeKey 
class that is used to define the key. It's an empty class without any state. 
The only way I can see to use it is to make a subclass of it, but that seems 
like a lot of trouble just to store something in the session.
To be useful it should have some state together with the methods hashCode and 
equals. The subclass I made is based on a String...
Am I missing something or should everyone define his own key? It would be nice 
if something workable would be in the core...
Thanks,
Frank
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Reply via email to