Re: Servlet HttpSession in webobjects?
Re: Servlet HttpSession in webobjects?
- Subject: Re: Servlet HttpSession in webobjects?
- From: Mike Schrag <email@hidden>
- Date: Tue, 12 Feb 2008 23:56:26 -0500
I'm not deploying as a Servlet btw, I just want access to that
session id that's part of the request I receive from another webapp.
So wait ... Let's go back to square one here. You're running a normal
WO app, NOT inside of a servlet container like Tomcat or JBoss,
correct? If so, there IS no HttpSession. That's a J2EE construct that
does not exist in WO (in the same way). If you're coming from another
container and getting redirected into your WO app, you aren't sharing
sessions with that other application -- you're using WO sessions in
your and they're using whatever they're using in theirs. In yours,
your application has a WOSession subclass, which you can obtain by
asking your component for it's .session().
If I'm reading this wrong and you're deploying a WO app inside of
Tomcat or JBoss (or some other J2EE container), then your context will
be a WOServletContext and you CAN access the HttpSession.
Can you clarify exactly what your development/deployment scenario is
here?
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden