Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 12th, 2006, 03:02 AM
Registered User
 
Join Date: Mar 2006
Location: KOLKATA, WEST BENGAL, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Show No. of users connected in website

I want to show the
The no. of users/clients connected in my website at any particular moment.
How to proceed in ASP.NET...Please help.


  #2 (permalink)  
Old March 13th, 2006, 11:11 AM
Authorized User
 
Join Date: Mar 2006
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

use an additional column in your users table with a name like Login_Status etc. update this column on login and logout. of course there is a problem, which is the user closing the browser window without logging of. At this time, use the session_end(available in Global.asax.{vb/cs} file of your application) and update the Login_Status column of the table.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to show different menu to different users RK ASP.NET 2.0 Professional 0 August 12th, 2008 01:32 AM
How do i know the number of connected users ? babu009 SQL Server 2000 1 October 23rd, 2007 03:20 PM
Limited users connected at once. salemkoten SQL Server 2005 5 October 10th, 2006 09:26 PM
Number of connected in users Scripts82 SQL Server 2000 1 March 21st, 2006 04:56 AM
How to view how many users are on website... stacy Classic ASP Basics 4 September 17th, 2004 12:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.