This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes which is suitable place to use session tracking methods? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "which is suitable place to use session tracking methods?" Watch "which is suitable place to use session tracking methods?" New topic
Author

which is suitable place to use session tracking methods?

arulraj michealraj
Greenhorn

Joined: Mar 02, 2005
Posts: 28
I have one doubt..

There are four methos in session tracking. I know the concept of them.
But i don't know in which case we can use them.
When will we decide that this tracking method is best for this scenario?

Can you please tell me detaily?


Thanks
arulraj
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

In HTTP, Three ways,

1. URL Rewriting and Cookie - This will be taken care by container. If Cookie is disabled, Container will automatically start using URL Writing. Only thing you need to do is, what ever URL in your JSP make sure it is encoded URL by calling method below,



2. Hidden Variable - not a suggestable way of doing, as you have already have good methods to go.

HTTPS: I'm not sure about this. I think when you want secure communication, you can use this.

hth,


Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />prabhu.venkatachalam@gmail.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which is suitable place to use session tracking methods?