jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

No jetty-core API to determine if sessionId is obtained from cookie or URL

Open lachlan-roberts opened this issue 1 year ago • 1 comments

Jetty version(s) 12.0.x

Jetty Environment core

Description In the servlet API there is the methods isRequestedSessionIdFromCookie() and isRequestedSessionIdFromURL() on HttpServletRequest.

However it does not seem possible to determine this from jetty-core.

lachlan-roberts avatar Jul 25 '24 00:07 lachlan-roberts

Should be easy enough to implement this in the org.eclipse.jetty.session.SessionHandler.SessionRequest class, and add it to the org.eclipse.jetty.server.Request interface. The information is available to the SessionRequest, just a matter of exposing it.

janbartel avatar Jul 26 '24 07:07 janbartel

This was fixed by #12145

janbartel avatar Oct 22 '24 22:10 janbartel