Skip to main content
Nov 17, 2015 10:49 AM UTC
Solved

Get rid of JSESSIONID cookie

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Nov 18, 2015 12:35 AM UTC

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

2 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Nov 18, 2015 12:35 AM UTC

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

Translate
Nov 18, 2015 10:25 AM UTC

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

<%@ page session="false" %>

directive.

Translate