Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Help with Null Embedded Jetty Server Session

Hi,

On Wed, May 18, 2016 at 3:20 PM, Jennifer Coston
<Jennifer.Coston@xxxxxxxxxxxx> wrote:
> But I am still not seeing the session information:
>
> Request = Request(GET //localhost:12043/)@968bbe8
> Response = HTTP/1.1 200
> Date: Wed, 18 May 2016 13:00:04 GMT
>
>
> Create = false
> no session

This is expected.

You call request.getSession(false) which does *not* create the session.
It only returns it if it has been previously created.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top