I am tacking user logged and logged out time in data base but i have one problem
That is: If the user close the browser instead of clicking on Logout
button, How can I catch that event. Because if the user login, I will
tick the status field of that user in my Database, so that if they
close the browser instead of clicking on Logout button, I cant uncheck
the status field of that user & logged out time in my Database.
Can you show me how to solve that problem?
plz give me the detail solution or some code fragment..
please suggest.
Thank you in-advanced!
Loading
AreebPosted Jan 19, 2010, 1:43 AM
Dipa AhujaPosted Jan 16, 2010, 1:41 PM
AreebPosted Jan 15, 2010, 7:51 AM
Thanks for ur reply
i checked that link GetCallbackEventReference
not working...
AreebPosted Jan 15, 2010, 7:45 AM
but i have one doubt
is sp.net login control give facility to
track how many users online and their
login logout time if yes then plz give me
some details i really thankful to you...
cos i am using asp.net login control
but dont know all functionality
Nilanka DharmadasaPosted Jan 15, 2010, 7:27 AM
I found a sample. Using that, you can track when the user closes the page.
Then you can get the time and save it to DB.
This is the link. Click.
If you find this answer usful, please tick 'Do you like this answer' checkbox.
Dipa AhujaPosted Jan 15, 2010, 7:25 AM
it will be better to deal with it than your own logic