Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Session invalidation

On 26/02/2021 15:30, Peter Ondruška wrote:
https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getSession()

getSession()

     Returns the current session associated with this request, or if the request does not have a session, creates one.

I think you wanted to use getSession(false).

Sorry for the late response -- just found this buried in my inbox. Yes, you're quite right, that fixed it. Many thanks.

--
John English


Back to the top