Hi Paul,
Yes I'd be interested in the @Session method you describe.
The state I was really interested in storing was whether a user was
logged in or not, would the authentication mechanism you mention still
be appropriate for this?
Jon
________________________________
From: Jonathan Cook - Online
Sent: 04 April 2008 14:11
To: users_at_jersey.dev.java.net
Subject: HttpSession
Hi,
Probably a very simple question so apologies in advance but can you get
at the HttpSession from within a resource class in a similar way that a
Servlet class can?
For example if people are logging on to an application with
username/password could I store their username in the session. Maybe
this goes against some RESTful principles and there is a different
approach for this type of stuff but its all quite new to me.
Thanks
Jon
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.