Hi, with getSession() you will always get the session attached to the current request. So yes it is session specific.
Greets chris -----Ursprüngliche Nachricht----- Von: Martin Asenov [mailto:[email protected]] Gesendet: Donnerstag, 21. Januar 2010 16:44 An: [email protected] Betreff: get set attribute wicket session Hello, everyone! I would like to ask if: -I've got an AuthenticatedWebSession implementation and there I have the fields -field1 -field2 with getters and setters. After that somewhere in my code, no matter where I say ((MySessionImpl)getSession()).getField1() will I get session specific attribute, since there are no set/getAttribute() methods for the session. I want to save session specific attributes in that manner, is this the correct way to do so? Thanks, --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
