File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes cookie, URL-rewriting and hidden fields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "cookie, URL-rewriting and hidden fields" Watch "cookie, URL-rewriting and hidden fields" New topic

cookie, URL-rewriting and hidden fields

Saurabh Saha
Ranch Hand

Joined: Dec 08, 2004
Posts: 52
which is the best approach for session tracking, somebody told me that hidden fields are the best approach. Is it true, please confirm me.

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

You are aware that the servlet container will do this for you, right?
Read Chapter 7 (SRV7) of the servlet spec.
You'll find the link in my signature.
[ April 25, 2005: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: cookie, URL-rewriting and hidden fields
jQuery in Action, 3rd edition