Skip to main content

controlling session creation in code.

1 reply [Last post]
ritzpar
Offline
Joined: 2012-08-22
Points: 0

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.
swchan2
Offline
Joined: 2005-03-29
Points: 0

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

Shing Wai Chan