How to get the count of visitors visiting the website,without having database interaction
Here I will explain how to count number of visitors to website in asp.net using C# find or get number of visitors for a website in asp.net using C#.
1. Add the Global.asax page in your website
No of Visitors : <asp:Label ID="lblCount" runat="server" ForeColor="Black"></asp:Label>
3. now code in page .cs file of your website
lblCount.Text = Application["NoOfVisitors"].ToString();
i hope this post is helpfull for you.
best of luck
No comments:
Post a Comment