Click here to Skip to main content
15,905,558 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
I need coding to count the number of users logged into a web page. I tried using db and .asax,
It works but only if the page is refreshed, count gets updated.

Is there any code to display the count of users automatically without refreshing the page.
Posted
Comments
[no name] 21-May-13 3:24am    
With out refreshing the page we can't get the count

ex:Go through the code project top of the page and observe count.

1 solution

C#
Response.AppendHeader("Refresh", "2");


Try this
 
Share this answer
 
Comments
sukumari1 21-May-13 3:45am    
Thanks.

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