wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "session tracking" Watch "session tracking" New topic
Author

session tracking

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi
i have problem in session tracking.I want to know how to do session tracking when a same user logs in from different systems at same time,ie session tracking for concurrent user.How to handle this problem.if you have any example code it will help me lot.
Thank you
suneetha
Raja Shekhar
Ranch Hand

Joined: Apr 02, 2001
Posts: 49
Hi Sunnetha

The SEssion Tracking can be Recognized bt the client Browser
whrn use session.getSession() ..rite../ getValue()
The Only Way i see ..for u r problem is
when ever the uaser first logs in
as soon as he/she logs in store the information about the
the user in the data base...
when ever he/.she logs in check the data base ...

when he/she logs out ..delete the record of the user from the database..
this ensures the he/she logs in only one time..
Any Discuusion more on this
call rajzb@yahoo.co.uk
Hope u GOT IT..
Raj
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: session tracking
 
Similar Threads
Keep having to login with container based authentaction.
Handle session ID after deleting cookies
return value to the calling servlet from messageDrivenBean
Pasted url vs link - extremely odd behavior
Http Session Attributes are Thread safe