aspose 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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Tracking" Watch "Session Tracking" New topic
Author

Session Tracking

kumar ar
Greenhorn

Joined: Apr 27, 2007
Posts: 14
hi guys ..

i have problem with the different types of session tracking mechanisms available can you please tell me which is best one and why ??? hope you will help me ..

thanks and regards
kumar



[BPSouther: Added meaningful subject line]
[ April 30, 2007: Message edited by: Ben Souther ]
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9521
    
    2

You can do it either through cookies or through the use of url rewriting. The latter happens automatically.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Please use a meaningful subject line.
What do you mean by "different kind of session tracking"?
Where are you up to?

The nicely you place your question the better would be the chance of getting a perfect answer.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61657
    
  67

Please read this for more information on choosing more appropriate subject lines than "hello".


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
satya mahapatra
Ranch Hand

Joined: Jan 07, 2006
Posts: 134
There are two ways you can handle sessions.
1> Cookies
2> URL Rewriting
The most common and easiest way to handle seesion is cookies.
In cookies the session id will set as part of the response. But
if the browser wont support cookies then you have to go for URL
rewriting , beacause in url rewriting the session id will be appended
to the end of each url and browser wont care for that. Means it can't disable URL rewritng.


Regards,<br />Satya<br />SCJP,SCWCD
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
Hi.

Here are two articles I just posted in a similar thread in this forum.

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzatz/51/program/sesdeci.htm
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rprs_sesd.html

Hope it helps


Leandro Melo
SCJP 1.4, SCWCD 1.4
Suman Sharma
Ranch Hand

Joined: May 16, 2005
Posts: 72
[Thread hijack removed. Suman Sharma, if you have a question, please ask it in your own topic.]
[ April 30, 2007: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Tracking