File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Session tracking issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Session tracking issues" Watch "Session tracking issues" New topic

Session tracking issues

Abhijit Rai
Ranch Hand

Joined: Aug 07, 2008
Posts: 41
Hi people,
The servlet 2-4 specifications state that a server must be able to track sessions ,therefor most servers fall back on URL rewiting when cookies are disabled by the browser.
Is there any other method by which servers keep a track of sessions apart from the two above.
I have been reading HFSJ 2 edition ,in its mock exam, Q.14 it states that server may not implement URL rewriting ,so how else will it track sessions if Cookies are disabled.

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Hi ,
what about hidden field mechanism?
Matteo Palmieri

Joined: Sep 09, 2008
Posts: 28
As far as I know and for the sake of completeness, the session tracking is inherently implemented in the SSL protocol. So using HTTPS connection can be considered as an alternative way to obtain session tracking without using cookies or url rewriting.


SCJP1.4: 96% SCWCD5: 91%
I agree. Here's the link:
subject: Session tracking issues
It's not a secret anymore!