Sessions & Servlets cont’d
•
Various other information is stored
–
long getCreationTime()
–
String getId()
–
long getLastAccessedTime()
•
Also can set timeout before session
destruction
–
int getMaxInactiveInterval()
–
setMaxInactiveInterval(int seconds)
19