We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/unfiltered/unfiltered/blob/0.8.4/jetty/src/main/scala/contexts.scala#L25-L29 changed single line in contexts.scala:
val ctx = new ServletContextHandler(parent, path, false, false)
to
val ctx = new ServletContextHandler(parent, path, true, false)
This sets ServletContextHandler constructor parameter sessions to true
http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/servlet/ServletContextHandler.html
ServletContextHandler(HandlerContainer parent, String contextPath, boolean sessions, boolean security)
Now I have sessions working with jetty like:
println("session id:" + req.underlying.getSession.getId)
session id:1v6stys8pjmdqfjm3vxtzfohr
Session id is required for example for form-based authentication.
a bit more info here: https://groups.google.com/forum/#!topic/unfiltered-scala/AyZVS2_4XFQ
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/unfiltered/unfiltered/blob/0.8.4/jetty/src/main/scala/contexts.scala#L25-L29
changed single line in contexts.scala:
to
This sets ServletContextHandler constructor parameter sessions to true
http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/servlet/ServletContextHandler.html
Now I have sessions working with jetty like:
session id:1v6stys8pjmdqfjm3vxtzfohr
Session id is required for example for form-based authentication.
a bit more info here: https://groups.google.com/forum/#!topic/unfiltered-scala/AyZVS2_4XFQ
The text was updated successfully, but these errors were encountered: