aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Session Expiration Doubt  - 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Session Expiration Doubt  - 1" Watch "Session Expiration Doubt  - 1" New topic
Author

Session Expiration Doubt - 1

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 390
P-273, Q-3 Option C)
"A session will become invalid after a timeout period defined by the servlet container"......MARKED AS TRUE

This statement means that if i have specified the timeout as 1 min, the session will ALWAYS expire after 1 min which is not true.
but i think this statement will be correct if we state it as :
"A session will become invalid after a timeout period defined by the servlet container if there is no activity by client
for this timeout period"..
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

In this context, a timeout period means inactivity. There's no need to mention it.

SRV.7.5 Session Timeouts
In the HTTP protocol, there is no explicit termination signal when a client is no longer active. This means that the only mechanism that can be used to indicate when a client is no longer active is a timeout period.


[My Blog]
All roads lead to JavaRanch
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Please Quote Your Sources. Thanks!


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Expiration Doubt - 1