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

HttpSession - isNew()

 
Marcos Urata
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The API of the method isNew() says:

"Returns true if the client does not yet know about the session or if the client chooses not to join the session".

Can anyone explain to me HOW can a client choose NOT to join the session??


Thanks a lot,
Marcos
 
melan hen
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say, you use cookie(not URL rewriting) to implement session control, but your client browser is so alert that it will decline all the cookies sent by any server. In such a case, your client will choose NOT to join the session.
Hope this can help.
 
Marcos Urata
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic