473,508 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net session state service limitation?

Hi All,

I am using asp.net session state service to store session.
The concurrent online user will be almost 2000.

Could asp.net session state service afford this?
Is there any limitation about asp.net session state service?

-Billy
Oct 16 '08 #1
5 5877
it depends on the which session server you are using (inproc, state or sql).
if inproc or state server, then it will depend on the size of individual
session, and how much memory is allowed (32 vs 64 bit). if you use sqlserver
your only limit is dabase size.

it also depends on the cost of losing session data. inproc is lost on each
recycle (or idle timeout). appstate can lose due to too much memory pressure.
-- bruce (sqlwork.com)
"Billy Zhang" wrote:
Hi All,

I am using asp.net session state service to store session.
The concurrent online user will be almost 2000.

Could asp.net session state service afford this?
Is there any limitation about asp.net session state service?

-Billy
Oct 16 '08 #2
I am using session state service not inproc.

"bruce barker" wrote:
it depends on the which session server you are using (inproc, state or sql).
if inproc or state server, then it will depend on the size of individual
session, and how much memory is allowed (32 vs 64 bit). if you use sqlserver
your only limit is dabase size.

it also depends on the cost of losing session data. inproc is lost on each
recycle (or idle timeout). appstate can lose due to too much memory pressure.
-- bruce (sqlwork.com)
"Billy Zhang" wrote:
Hi All,

I am using asp.net session state service to store session.
The concurrent online user will be almost 2000.

Could asp.net session state service afford this?
Is there any limitation about asp.net session state service?

-Billy
Oct 17 '08 #3
then you just have memory limits to worry about. also if the state
service fails or has to fail over to a backup machine you will lose all
session data. you will also need to keep the session fairly short (20-30
minutes instead of days or weeks).

-- bruce (sqlwork.com)
Billy Zhang wrote:
I am using session state service not inproc.

"bruce barker" wrote:
>it depends on the which session server you are using (inproc, state or sql).
if inproc or state server, then it will depend on the size of individual
session, and how much memory is allowed (32 vs 64 bit). if you use sqlserver
your only limit is dabase size.

it also depends on the cost of losing session data. inproc is lost on each
recycle (or idle timeout). appstate can lose due to too much memory pressure.
-- bruce (sqlwork.com)
"Billy Zhang" wrote:
>>Hi All,

I am using asp.net session state service to store session.
The concurrent online user will be almost 2000.

Could asp.net session state service afford this?
Is there any limitation about asp.net session state service?

-Billy
Oct 17 '08 #4
Thank you for your quick response!

-Billy

"bruce barker" wrote:
then you just have memory limits to worry about. also if the state
service fails or has to fail over to a backup machine you will lose all
session data. you will also need to keep the session fairly short (20-30
minutes instead of days or weeks).

-- bruce (sqlwork.com)
Billy Zhang wrote:
I am using session state service not inproc.

"bruce barker" wrote:
it depends on the which session server you are using (inproc, state or sql).
if inproc or state server, then it will depend on the size of individual
session, and how much memory is allowed (32 vs 64 bit). if you use sqlserver
your only limit is dabase size.

it also depends on the cost of losing session data. inproc is lost on each
recycle (or idle timeout). appstate can lose due to too much memory pressure.
-- bruce (sqlwork.com)
"Billy Zhang" wrote:

Hi All,

I am using asp.net session state service to store session.
The concurrent online user will be almost 2000.

Could asp.net session state service afford this?
Is there any limitation about asp.net session state service?

-Billy
Oct 17 '08 #5
Hi Billy,

As Bruce said, it depends on if you're using a 32-bit machine or a 64-bit
one. A 32-bit application running on Windows is only allowed to use 2GB
virtual memory by default. If the overall data size is larger than 2GB you
may see the out of memory error. If the memory pressure is low the ASP.NET
State Service definitely can afford 2000 concurrent sessions.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/...tance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Thread-Topic: asp.net session state service limitation?
| thread-index: Ackv+AMfkB35Iy0rR+uIq/sovcWYvw==
| X-WBNR-Posting-Host: 207.46.193.207
| From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <ht****@noemail.noemail>
| References: <75**********************************@microsoft.co m>
<5D**********************************@microsoft.co m>
| Subject: RE: asp.net session state service limitation?
| Date: Thu, 16 Oct 2008 18:31:00 -0700
| Lines: 27
| Message-ID: <84**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:78040
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I am using session state service not inproc.
|
| "bruce barker" wrote:
|
| it depends on the which session server you are using (inproc, state or
sql).
| if inproc or state server, then it will depend on the size of
individual
| session, and how much memory is allowed (32 vs 64 bit). if you use
sqlserver
| your only limit is dabase size.
| >
| it also depends on the cost of losing session data. inproc is lost on
each
| recycle (or idle timeout). appstate can lose due to too much memory
pressure.
| >
| >
| -- bruce (sqlwork.com)
| >
| >
| "Billy Zhang" wrote:
| >
| Hi All,
|
| I am using asp.net session state service to store session.
| The concurrent online user will be almost 2000.
|
| Could asp.net session state service afford this?
| Is there any limitation about asp.net session state service?
|
| -Billy
|

Oct 17 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5976
by: Nhi Lam | last post by:
Hi, I understand that there are 3 modes in which I can configure the SessionStateModule. What I need is an out of process Session State store with fail over support. The "SQL Server Mode" seems...
1
2671
by: Julie Barnet | last post by:
Hi, I am having a problem with my session state through sql server. This used to work, then all of a sudden (the only change was setting up replication in the sqlserver database) it stopped...
3
3428
by: Mark | last post by:
Ok, I know that .net inherently does not share session data across asp.net projects, but is there any decent work around to this. We already have a big chunk of our application using the asp.net...
0
800
by: Maciek | last post by:
Hi When I set Session state mode to StateServer (IIS 6.0; windows2003; .NET 2.0) in my application, I have recived this message:...
0
1670
by: none | last post by:
Hi, I've got a problem with losing session state in ASP.NET version 2. It does it intermittently - sometimes it tanks - and sometimes it works OK. I've got the ASP.NET state service started...
17
1568
by: Jan Kucera | last post by:
Hi. How can I join session or read Session variables if I have the SessionID (or anything what I can supply)? Imagine I have a external link from my webpages, which opens an application which...
11
7885
by: Joseph Geretz | last post by:
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web...
11
3610
by: Glenn | last post by:
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7401
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...
0
7504
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
5640
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
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
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 ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.