Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session maintenances

 
Chandra Mohan
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many ways are available to maintain the session?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reading the JavaDocs for javax.servlet.http.HttpSession will help you answer this question.
Bill
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Chamu!
You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
Thanks!
bear
JSP Fourm Bartender
 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there are four different ways you can maintain session
1)URL rewritting
2)Hidden field
3)cookies
4)SSL
and the other one is servlet API.Which contains methods that helps
to maintain session among clients request.These methods can be
invoked by getting the object referrence of the HTTPSession interface by
using getSession().

sangeetha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic