File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Session Tracking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Tracking" Watch "Session Tracking" New topic
Author

Session Tracking

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I want to know where to use the following methods of session tracking.
1. User Login For e.g ) Entry Screen
2. Hidden HTML Shopping Cart Items & Quantity
3. URL rewriting addition info for selected link
4. Cookies User name & password. Other data like address, telephone numbers.
5. Session Handling API Sensitive information, Shopping cart details.
Am i correct. If someone can give me some more live examples and the pitfalls in each method it would be of great help.
Bye
simple steps
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
I really don't understand your question, esp. when you use the word "method".
IMHO, the session tracking interface (javax.servlet.http.HttpSession) is one of the greatest inventions in Java, I think. It allows you to concentrate on the business needs and not on the details of HOW is it that you "track" the Web session of a user.


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
By methods i meant which of the listed options i need to use for session tracking.
Srividya Shiv
Ranch Hand

Joined: Jul 20, 2000
Posts: 31
U can do session tracking in any of the following ways
1. Hidden fields
2. Cookies
3. Using 'HttpSession'
4. URL rewriting
U may use any of the ways depending on ur requirement. For eg if ur browser wont support cookies, then use any of the others.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Tracking