Skip to main content

controlling session creation in code.

1 reply [Last post]
Joined: 2012-08-22

Hi, I noticed a JSESSIONID cookie gets created by glassfish whenever I access a JSP. How do i configure Glassfish so that I control when a session gets created ( ex. request.getSession( true ) )

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-03-29

You can use the following jsp directive:
<%@ page session="false" %>

Shing Wai Chan