Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpSession

 
swarupa patil
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is HttpSession ? how server maintain the session between clent
when web application is present on distributed JVM?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by swarupa patil:
What is HttpSession ? how server maintain the session between clent
when web application is present on distributed JVM?


Your first question would be better answered by a book or tutorial.
http://www.google.com/search?hl=en&q=SERVLET+TUTORIAL&btnG=Google+Search

You would have to check documentation for the container you're using to see how it implements session replication (if it indeed does).
Tomcat serializes the session object (and all objects bound to it) and transmits them via TCP/IP to all the other nodes in the cluster.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!