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
Difficult to tell you what is happening with so little information ;) What
version of jetty? What configuration of the session management:
SessionCache, SessionStore, SessionIdManager?
Does your webapp involve forwarding between contexts? Does your webapp have
any filters or 3rd party libraries
-
From: jetty-users On Behalf Of John English
Sent: Friday, February 26, 2021 1:14 PM
To: jetty-users@eclipse.org
Subject: [jetty-users] Session invalidation
I have a webapp requiring a user to log in before doing anything else.
State information is stored in an object in a session attribute
I have a webapp requiring a user to log in before doing anything else.
State information is stored in an object in a session attribute called
"state". When I log out I do the following:
HttpSession session = request.getSession();
if (session != null) {