Thank you Greg,
Hmm, that sounds like I really have to do dig into this.
I probably should have mentioned I am running Jetty (9.3) as an embedded
server. I have all the code for setting up a Jetty server, HTTP/2, SSL
etc. in place. But the only thing I do currently that involves sessions
is downcasting the SessionManager to HashSessionManager and then disable
session cookies and changing the session URL parameter name on it.
Could you point me to some docs or examples that could help me? I am
planning to move to 9.4 as soon as that is released. Is it better for me
to wait since things have changed in 9.4?
Cheers,
Silvio
On 12/08/2016 11:02 PM, Greg Wilkins wrote:
Silvio,
it at least sounds plausible. Jetty's session managers are designed
as pluggable so uses can do exactly this kind of strange thing.
But failing that, you could use the rewrite handler and a custom
rewrite rule to make incoming requests switch the session cookie to
the one you want based on the URI and/or parameters, thus keeping the
session manager the same.
Note that session manager APIs have changed significantly in 9.4.0
cheers
--
Greg Wilkins <gr...@webtide.com <mailto:gr...@webtide.com>> CTO
http://webtide.com
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users