aspose file tools*
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 Java 8 in Action this week in the Java 8 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
Similar Threads
how to handle multiple request
Prefer hidden field instead of session attribute
DropDown Disabled.
Maintaining State between different calls to jsp
encode and decode url query string values