This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "session tracking" Watch "session tracking" New topic

session tracking

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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
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
Hope u GOT IT..
I agree. Here's the link:
subject: session tracking
It's not a secret anymore!