users@jersey.java.net

HttpSession

From: Jonathan Cook - Online <Jonathan.Cook2_at_bbc.co.uk>
Date: Fri, 4 Apr 2008 14:10:31 +0100

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.