Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340250 - org.eclipse.jetty.server.session.AbstractSessionManager missing setSessionPath
Summary: org.eclipse.jetty.server.session.AbstractSessionManager missing setSessionPath
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 8.0.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-16 17:34 EDT by Bob Obringer CLA
Modified: 2011-07-04 02:46 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Obringer CLA 2011-03-16 17:34:40 EDT
Jetty 8.0.0.M2 AbstractSessionManager is missing the setSessionPath() function that was added in 7.0.x (not sure which version and I can no longer find the bug report).

After the 7.0.x fix, we were using .xml files to configure jetty.  The session path was configured by setting the context-param:  org.eclipse.jetty.servlet.SessionPath

In 8.0, we're embedding jetty and configuring the session path programmatically.  setSessionPath() is missing preventing us from sharing a session id across contexts.

Temporarily, I've extended JdbcSessionManager to add setSessionPath().  This seems to have done the trick.
Comment 1 Greg Wilkins CLA 2011-04-01 00:08:06 EDT
I will check this after 7.4 is merged with jetty-8
Comment 2 Jan Bartel CLA 2011-07-04 02:46:21 EDT
AbstractSessionManager.setSessionPath() was sync'ed across to jetty-8 in time for jetty-8.0.0.M3.