• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Page 248 HF

By default the cookie lives as long as the session. Once the client quits his browser , the cookie disappears.


Does that mean the session expires as soon as the client quits his browser?
But session is on the server and has no clue about the client's browser state.
 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Certainly it does not mean the session expires as soon as the client quits his browser. Cookie that is used to store session information on the client side, so that it can be sent to the server with subsequent requests, expires. This is the cookie that is used to track session (if necessary). So, even if you close browser window, the session object on the server still stays alive.

You are absolutely right, session is on the server and has no clue about the client's browser state.
 
reply
    Bookmark Topic Watch Topic
  • New Topic