This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

expired sessions

 
trupti nigam
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HEllo all,

" sessions in the Web Application expire" ..
When the session is inactive for time more than the specified timeout in the web.xml ,the session is considered as expired.
but does that count for the sessions for which the browser window is closed?

Thanks,
Trupti
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"the browser window is closed" is a client-side concept. The server has no idea whether the browser has been closed, the user is looking out the window, eating lunch, gone to the rest room or has fallen asleep.

Sessions expire when there has been no activity for the set perios of time regarless of why that period of inactivity has occurred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic