wood burning stoves*
The moose likes JSP and the fly likes Session maintenances Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Session maintenances" Watch "Session maintenances" New topic
Author

Session maintenances

Chandra Mohan
Ranch Hand

Joined: Oct 06, 2003
Posts: 62
How many ways are available to maintain the session?


Thanks and Regards
Chandra Mohan
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12809
    
    5
Reading the JavaDocs for javax.servlet.http.HttpSession will help you answer this question.
Bill
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61457
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
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


Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session maintenances