Is it possible to use a Session (e.g. HttpSession) with JBoss.net?

I have a stateless Session Bean as a webservice and it does fine. Now i have to add 
something like a cart, so it seems i need something like a HttpSession.

In Axis i can use this:

MessageContext mc = MessageContext.getCurrentContext();
  | HttpServletRequest req = 
(HttpServletRequest)mc.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
  | HttpSession session = req.getSession(true);

but it doesn't work as expected in JBoss.net

Any ideas?

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827382#3827382";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827382>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to