how to get the login logout times of a user from the server
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manish Kumar ChoudharyPosted Feb 20, 2015, 1:38 AM
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.