how to get the login logout times of a user from the server
To retrive data from a server
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Feb 19, 2015, 8:38 PM EST
Hi anjani,
Create two field in LoginData table like LastLogIn and LastLogOut as dateTime and when you login just update the current dataTime to LastLogin and when you logout Update LastLogOut time whith Current dateTime. That's it you will get both login and logout time.