This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Session " Watch "Session " New topic
Author

Session

pallavi utukuri
Ranch Hand

Joined: Feb 10, 2004
Posts: 182
just want to reconfirm this...

0 or �ve value in dd ensures that session never expires....

while 0 in setMaxInactiveInterval means session expires immediately�.
and �ve value means it will never expire

is it ryt?


Thanks,<br />Pallavi
vishwa venkat
Ranch Hand

Joined: Nov 22, 2003
Posts: 185
U R Right..but check these --

http://www.caucho.com/support/resin-interest/0203/0524.html
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
That's right.

This is a bit confused, however, if you could, you may read SCWCD Exam Study Kit page 124 to 125 for more information.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
 
Don't get me started about those stupid light bulbs.
 
subject: Session
 
Similar Threads
Session Timeout and SCWCD kit question
urgent : session time out
setMaxInactiveInterval(0), this means ?
session time out doubt
setMaxInactiveInterval(-1)