PC Review


Reply
Thread Tools Rate Thread

Counting ASP.NET sessions in a web farm

 
 
Yash Ganthe
Guest
Posts: n/a
 
      8th Oct 2010
Hi,

We have a ASP .NET application which will be deployed in a web farm.
We would like to find the total number of sessions that have been
established. If we create a counter in global.asax.cs, it will be able
to count only within aspnet_wp process. In a web farm, multiple nodes
will have IIS on multiple machines.
If we use SQL server-based session management, can we get the total
number of active session by querying the Session DB?
If we later decide to use session state server to store the sessions,
can we get the number of active sessions?

Thanks,
Yash
 
Reply With Quote
 
 
 
 
Cubaman
Guest
Posts: n/a
 
      10th Oct 2010
On Oct 8, 11:44*am, Yash Ganthe <yas...@gmail.com> wrote:
> Hi,
>
> We have a ASP .NET application which will be deployed in a web farm.
> We would like to find the total number of sessions that have been
> established. If we create a counter in global.asax.cs, it will be able
> to count only within aspnet_wp process. In a web farm, multiple nodes
> will have IIS on multiple machines.
> If we use SQL server-based session management, can we get the total
> number of active session by querying the Session DB?
> If we later decide to use session state server to store the sessions,
> can we get the number of active sessions?
>
> Thanks,
> Yash


Hello:
Yes, if you use Sql DDBB you can query it for session values.
Best regards.
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting the number of sessions in a web farm Yash Ganthe Microsoft ASP .NET 0 8th Oct 2010 08:16 AM
Counting Sessions kpg Microsoft ASP .NET 4 17th Aug 2006 10:29 PM
Counting Active Sessions Brad B. Microsoft ASP .NET 2 17th Dec 2003 03:22 PM
Re: Relationship between IIS Sessions and ASP.NET Sessions? Ken Cox [Microsoft MVP] Microsoft ASP .NET 1 8th Aug 2003 04:22 PM
Web Farm JD Microsoft ASP .NET 0 16th Jul 2003 03:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:06 PM.