.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
SP
satyapriyanayak
Subhransu Sekhar Jena
abhays
DotnetUser

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How to count online visitor in asp.net

Posted By: Srikanth     Posted Date: February 14, 2010    Points:2   Category :ASP.Net
Please help me to count online visitor in asp.net? You might have seen in many website showing online visitor count.

Responses
Author: Lalij Mer             
Posted Date: February 15, 2010     Points: 5   
Author: krishnavenikaladi             
Posted Date: February 20, 2010     Points: 5   

hi,

use following code in globa.asax file events

[application _start]
session["tusers"]=0;
[session_start]
session["tusers"]=int.parse(session[tusers].Tostring())+1;



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend