Categories
Website Stats to Date
Hits: 7,442,799
Visitors: 3,272,154
Widgets Viewed: 2,442,690
Active Users 26
We Accept PayPal®
Widget #CS0124
Display the number of Active Users on your website (ASP.NET)
Free
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the session is started Application("UserCount") = Application("UserCount") + 1 End Sub
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the session ends Application("UserCount") = Application("UserCount") - 1 End Sub
To Display UserCount, add a Label Control to the WebForm, name it lblUserCount
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here Me.lblUserCount.Text = "User(s) online " & Application("UserCount") End Sub
Last Updated: 10/9/2019
Download
Online Purchase And Pickup
License
PromoWare
Single Developer Licence. Re-Distribution Permitted only as part of a compiled Application.This source code is provided to you "as is" without warranty. CLICK HERE FOR TERMS OF USECopyright 2000-2018 CodeWidgets.com and Comrie Software Solutions
(0) Items $0.00
Featured Widgets
WebStore
Online Store
ASP.NET Application Template
More...
ShoppingCart
WebUserControl (ASP.NET)
Calendar Reports
Microsoft® Access (Monthly View)
Online Voting/Survey
.. this is one site that believes in Customer Service. I had questions, I had answers quickly. No "wait for days", No "buy this and find out". Just courteous and HELPFUL answers. It is refreshing to find a site that really cares about their products and stands behind them! And their products perform as they promote them.John L.
When I received my ASP.NET E-Commerce application it was for the purpose of marketing my software inventory via the internet. It took a minimal amount of time to launch it and offers host of traffic tracking options for further market study and analysis. Overall an excellent product. Richard G.
This website uses Cookies to store User information and Shopping Cart Items for the duration of your visit to CodeWidgets.com.
No Credit Card or Financial information is stored by CodeWidgets.com. Click Here For Our Complete Privacy Policy and Terms of Use.