19
Netprog 2002  -  Servlets
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)
–