Just looked at the code. Unfortunately, the answer is no. I thought the session was per port, but it's actually per context. Can you log a jira? I don't think it would be hard to change. I think the sessionHandler created on line 325 of JettyHTTPServerEngine.java would just need to be an instance variable created on first use. All the contexts created would then share it.

If you could actually try that and submit a patch in the jira, that would be GREAT.

Thanks!
Dan



On May 26, 2008, at 4:55 PM, Pat Malatack wrote:

Thanks for the help Dan... I was able to get session support up and
running using the spring configuration you pointed me too although its
only valid for each endpoint.  Is it possible to share the session in
standalone cxf across multiple endpoints?

On Sun, May 18, 2008 at 7:31 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote:

I think so, yes. The spring configuration schema for the Jetty engine
contains a "sessionSupport" attribute for turning on sessions:
http://cwiki.apache.org/CXF20DOC/jetty-configuration.html

Dan




On May 17, 2008, at 3:45 PM, Pat Malatack wrote:

Is it possible to have sessions in a stand alone CXF instance.  I
currently have my web methods behind and apache server using mod_proxy and i am actually using a php script in between to manage the session
(inject something like a userID before calling the webmethod) but i
would like to maintain state across endpoints in CXF and eliminate the php script/hack. Is this possible and if so is there guidance on how
to do it?

Thanks

--

Pat Malatack
[EMAIL PROTECTED]

---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog








--
Pat Malatack
[EMAIL PROTECTED]

---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to