468,249 Members | 1,512 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,249 developers. It's quick & easy.

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 2477
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jan | last post: by
reply views Thread by Silvia Brunet Jones | last post: by
1 post views Thread by Yama | last post: by
4 posts views Thread by Ollie | last post: by
7 posts views Thread by Remote_User | last post: by
Atli
4 posts views Thread by Atli | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.