File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Session maintenances" Watch "Session maintenances" New topic

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

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

Joined: Jan 10, 2002
Posts: 63854

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.
JSP Fourm Bartender

[Asking smart questions] [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
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().


Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
I agree. Here's the link:
subject: Session maintenances
It's not a secret anymore!