Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Get rid of JSESSIONID cookie

Avatar

Former Community Member

Hi,

in my website every request sets and/or uses a JSESSIONID cookie. Now this indicates to the caching server that a request should be handled by the publisher instance, skipping the cache.
I'm pretty sure I don't need any sessions (yet). However, I cannot seem to get rid of it.

Do you have any idea, where the session is coming from?

Regards
Mike

1 Accepted Solution

Avatar

Correct answer by
Level 10

make sure you have <%@ page session="false" %> in your jsp

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

make sure you have <%@ page session="false" %> in your jsp

Avatar

Former Community Member

Turns out, sessions are created by default when using JSPs, unless you disable it by

<%@ page session="false" %>

directive.