454/461

## glassfish:web:session:sessionExpiredEvent

event

Synopsis

    glassfish:web:session:sessionExpiredEvent(
        java.lang.String sessionId,
        java.lang.String appName,
        java.lang.String hostName)

Description

This event is sent whenever an HTTP session has expired because it has been inactive for too long.

Use this event to determine if the length of time during which an HTTP session must be accessed to prevent it from expiring needs to be increased.

Parameters

`sessionId`

  The ID of the HTTP session that has expired.

`appName`

  The name of the web application to which the HTTP session belongs.

`hostName`

  The name of the virtual server on which the application has been deployed.