473,657 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Maximum Sessions per Client?

Hi, one question, is there a limit on the numbers of sessions that a
client can have? i dont know why but suddently, as i handle a lot of the
user information with sessions, and also have added a lot of new
features,, my users are telling me that they are getting session timeout
page, that i have for when it happens, but, why now? is there a way that i
can count the number of sessions of a client?
Thanks for your help, BTW, im using a Double PIII 1 GHZ, 2 GB Ram Windows
2000 service pack 4, should have a lot memory for 100 concurrent users,
and processor never goes more that 40% in rush hours.

Edgardo

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 18 '05 #1
4 2664
Hello,

If you are getting a timeout error that is different than running out of
sessions. The default timeout for sessions is 20 minutes and is configured in
your web.config file.

<sessionState mode="InProc" stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se" timeout="20" />

If you are in fact running out of sessions you can increase the number
through the IIS admin tool. On the Web Site tab in the Properties window
there is a area for connections. I believe the default is Unlimited but you
might have it set to "Limited to".

Hope this helps.

"Edgardo Sepulveda" wrote:
Hi, one question, is there a limit on the numbers of sessions that a
client can have? i dont know why but suddently, as i handle a lot of the
user information with sessions, and also have added a lot of new
features,, my users are telling me that they are getting session timeout
page, that i have for when it happens, but, why now? is there a way that i
can count the number of sessions of a client?
Thanks for your help, BTW, im using a Double PIII 1 GHZ, 2 GB Ram Windows
2000 service pack 4, should have a lot memory for 100 concurrent users,
and processor never goes more that 40% in rush hours.

Edgardo

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

Nov 18 '05 #2
Thanks for your response, the strange thing is that i have setup de
timeout time, to 10 minutes, but my visitors in a lot of cases, are
getting a page that i have when the session has timeout, a couple minutes
after they login, i have tryed my self and its weird, suddlently, im
navigating on the website, and ti get the timeout page, i have around 30
sessions per user, and i thing that might be the problem, but i can t find
out why?

Any suggestion?
Thanks for your time
Edgardo
Hello,

If you are getting a timeout error that is different than running out of
sessions. The default timeout for sessions is 20 minutes and is
configured in
your web.config file.

<sessionState mode="InProc" stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se" timeout="20" />

If you are in fact running out of sessions you can increase the number
through the IIS admin tool. On the Web Site tab in the Properties window
there is a area for connections. I believe the default is Unlimited but
you
might have it set to "Limited to".

Hope this helps.

Nov 18 '05 #3
check the event log for asp.net recycling - this will happen if you use too
much memory. a recycle will clear all inproc sessions.

-- bruce (sqlwork.com)
"Edgardo Sepulveda" <ed*****@ticowe b.com> wrote in message
news:op******** ******@eddie.do tnet.crc...
| Thanks for your response, the strange thing is that i have setup de
| timeout time, to 10 minutes, but my visitors in a lot of cases, are
| getting a page that i have when the session has timeout, a couple minutes
| after they login, i have tryed my self and its weird, suddlently, im
| navigating on the website, and ti get the timeout page, i have around 30
| sessions per user, and i thing that might be the problem, but i can t find
| out why?
|
| Any suggestion?
|
|
| Thanks for your time
|
|
| Edgardo
|
| > Hello,
| >
| > If you are getting a timeout error that is different than running out of
| > sessions. The default timeout for sessions is 20 minutes and is
| > configured in
| > your web.config file.
| >
| > <sessionState mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
| > sqlConnectionSt ring="data source=127.0.0. 1;Trusted_Conne ction=yes"
| > cookieless="fal se" timeout="20" />
| >
| > If you are in fact running out of sessions you can increase the number
| > through the IIS admin tool. On the Web Site tab in the Properties window
| > there is a area for connections. I believe the default is Unlimited but
| > you
| > might have it set to "Limited to".
| >
| > Hope this helps.
Nov 18 '05 #4
Thanks Bruce, i just checked my Log and it show something wierd, 100's of
this kind of errors (every 10 minutes)

Source "Usernenv"
Event Id 1000
Windows cannot unload your registry file.
If you have a roaming profile, your settings are not replicated.
Contact your administrator.

DETAIL - Access is denied. , Build number ((2195)).
Can this be the cause of the premature timeouts?
BTW i was in the server console when the timeouts where happening and the
memory didnt when more than 30% on the task manager.
Thanks for your help
Nov 18 '05 #5

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

Similar topics

2
1732
by: Jan | last post by:
Hello, I'm builing a webstore with PHP. All products will be stored in a cookie-array. In the next page people could fill in their name, address etc. And in the 3rd page they could choose how they will pay. These data will also be stored in an array. In the 4th page they could see a complete list of al the information they filled in. I think some of you know my problem: you could only use 20 cookies, the 21th will overwrite another used...
0
1219
by: Silvia Brunet Jones | last post by:
I hope this is possible. The Session variable that I am seting up in the back code of my aspx page is a datatable with information that include a checkbox. I store this into the session variable in page load. No I want to access this session variable contents in client side with a <script language="VBScript"> Sub LoadDoc() dim dtDocuments dtDocuments = Session("dtDocuments")
7
5314
by: Sidd | last post by:
Hi, I tried finding and example of multithreaded client-serve program in python. Can any one please tell me how to write a multithreaded client-server programn in python such that 1.It can handle multiple connections 2.It uses actual threads and not select() or some other function
1
1666
by: Yama | last post by:
Hello What is the maximum permissible use of Sessions in ASP.NET Say I had 50 sessions I would like to use for approximately 5,000 user tops all using the apps at the same time it would create 25,000 sessions on the server side. Is that okay Yama
4
3339
by: Ollie | last post by:
Is there anyway to montior the number of user sessions from an asp.net app\page? The reason I ask is because I would like to throttle the number of concurrent sessions to a website, i.e. limit the number of concurrent user sessions lets say to 10,000 and if a user session exceeeds this amount they would be redirected to a 'Server is to busy' screen. I get the feeling there is no way to programmtically do this as I believe the number...
15
10984
by: dee | last post by:
Hi, What is the maximum number of minutes for Session timeout that I can specify in web.config? Thanks. Dee
0
991
by: Bob | last post by:
Hi, i posted a few days ago the following problem: how to close a session after timeout is reached (let's say 15') when the user stops any activity on a page with client callback, which sent from/to the server every x seconds, causing the timeout never reachs the 15'? I got an answer but it seems not to work: "if you are using cookie based sessions, client callbacks do not update the
7
1741
by: Remote_User | last post by:
Hi All, I have my ASP.NET application hosted in COM+ and I have my client app. Is there any way I can limit the number os sessions? Say, I have 5 client requests and they instantiate 5 COM+ sessions on the server and on the 6th one I want that to get blocked and tell the user that the server is busy pls try later or something like that. Can this be done? I am on .NET FW1.1. Thanks !
4
144421
Atli
by: Atli | last post by:
Introduction In this article I aim to explain the reasons why PHP sessions expire after a set period of inactivity, and how this mechanism works. I'll describe two commonly used methods to control the lifetime of a session, and show how to do so in your code. The problem PHP's session mechanism allows us to store data for clients on the server to make it persist through multiple requests. However, because the data itself is stored on the...
0
8407
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8319
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8837
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8612
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7347
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
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 we have to send another system
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.