Click here to Skip to main content
14,872,121 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

i m working on C#,i have a problem that is when user click close button of web browser then how can i use Session.Abandon();

Actually i want to count total current online user of my website till they are online & if they press close button of browser that user should be deducted from total no of online users.

Thanks & Regards
Updated 2-Oct-11 23:22pm

1 solution

Using a tool like EasyCounter[^] or Google analytics could give you some results.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900