473,466 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to get list of active session on server?

6 New Member
i want list of session which is active on my server,I want to count how many active connect right now
Aug 10 '10 #1
1 2602
Frinavale
9,735 Recognized Expert Moderator Expert
Check out the Global.asax file. It contains code for handling application-level events like Session_Start and Session_End.

You can declare an application level variable in the Global.asax file that is incremented every time the Session_Start event occurs and is decremented every time the Session_End occurs.

Please note that the Session_Start and Session_End events will only be fired if you are using InProc session.

-Frinny
Aug 10 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Amit | last post by:
Hi when I try to run LIST ACTIVE DATABASES AT DBPARTITIONNUM <partnum> or LIST ACTIVE DATABASES GLOBAL, I always get an error message. Does anyone know why? I'm on v8 fp 5 output : db2 => list...
3
by: Kevin | last post by:
Is it possible to develop an Active Document Full Server or a Container application using C#? Thanks, Kevin.
4
by: Matthew Smith | last post by:
Is it possible to get a list of SQL-Server databases if I know the server, using C#? I want to provide a drop-down list of them. Or is there a mechanism for selecting a database?
0
by: A.M | last post by:
Hi, Our active directory server also is our intranet server. I can not find ASPNET user (mentioned in kb article 317955) in list of AD users. Does anyone knows user name is being used by process...
0
by: Roger Stavcode | last post by:
Is it possible to point current context's session to another active session based on a SessionID? Thank you STAVCOQ
6
by: MrDotNet | last post by:
Hi Any one know how I get list of Session IDs, I mean all current Session IDs. Thanks -- -MrDotNet MCAD, MCSD Sr. Software Engineer / Lead Architect
1
by: Kevin Jackson | last post by:
Hello, Using any of the ASP.NET session storage techniques, is there a method in one of the HTTP objects that you can get the list of active (not abandoned or timed out) session keys (and maybe...
4
by: Ahmed Perlom | last post by:
Hi all, How can I know if the session ID that a certain process is running on is actually the active session that he consol is connected to. I can get the session id of a process by
8
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I'm trying to get a list of SQL Server Instances thru a VB.NET application. I have tried GetDataSource and SMO. I have also tried using ListSQLSvr.exe from...
3
by: yawnmoth | last post by:
I'm trying to connect to an Active Directory server and am having some difficulties. Here's the code I'm using: <?php if (!($ldap = ldap_connect('domain.tld')) { exit('unable to connect'); }...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.