Check if request.getSession() returns null
Compare sum of getCreationTime() and getMaxInactiveInterval() with current time
Use session.isActive() method
Use session.isExpired() method
Compare sum of getLastAccessedTime() and getMaxInactiveInterval() with current time
Use session.isNew() method
|