Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A query about HttpSession.isNew

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody please tell me what will be the importance or significance of sun providing Httpsession.isNew Method??

As per the docs it says that this method returns true when the Web container has created the server but the client is not still associated with it .


The question i mean to ask is that , in what cases this method would be useful ??

Please share your ideas . Thanks in advance .
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per my knowledge isNew is used to check whether there is any old session present or not if the old session expired it will create a brand new session for the request..........

kaustubh
 
Sumukh Deshpande
Ranch Hand
Posts: 87
Firefox Browser IntelliJ IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Take a look at this:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic