473,320 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 2643
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" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false" 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" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false" 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*****@ticoweb.com> wrote in message
news:op**************@eddie.dotnet.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"
stateConnectionString="tcpip=127.0.0.1:42424"
| > sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
| > cookieless="false" 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
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...
0
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...
7
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...
1
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...
4
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...
15
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
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...
7
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+...
4
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.