Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in Session management

 
Sharath
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a doubt in Session management from HFSJ(page no:243). Suppose I specify a timeout of 10 mins in DD and a timeout of 15 mins (15*60) using setMaxInactiveInterval(time) on a particular session object, when will this session end ? Assume there isnt any other session object created(only one is created). will it take the time from DD or from setMaxInactiveInterval(15*60) method ?
 
Priya Jothi
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sharath,

For this particular session object on which you are calling setMaxActiveInterval(timeout) the timeout param in seconds will override the timeout specified in DD.In this case time out value will be 15 mins.Other session objects will use the timeout value specified in DD.

Regards,
Priya.
 
Sharath
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnx a lot Priya, I got it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic