Hi,
I've just read the ms KB article on how sessions can die because of the
underscore in the machine name and don't think that it applies to me. I've
tried using the IP address of the server and have tested it locally using
localhost and my sessions still die.
It seems to happen on one particular page. It has some heavy db activity
but my connections are pooled.
It also seems to happen before any activity occurs once it has started to
fail then every postback to the same page will cause the session to die.
Does anyone have any ideas. Also if the aspnet worker process is recycled
would the memory process be set back to a low figure?
Thanks for any help.
Steve 8 1571
If ASPNET worker process is recycled, your application is restarted.
Then you will loose all your sessions also.
"Steve Letford" <sl******@ems-global.com> wrote in message news:<#T**************@TK2MSFTNGP11.phx.gbl>... Hi, I've just read the ms KB article on how sessions can die because of the underscore in the machine name and don't think that it applies to me. I've tried using the IP address of the server and have tested it locally using localhost and my sessions still die.
It seems to happen on one particular page. It has some heavy db activity but my connections are pooled.
It also seems to happen before any activity occurs once it has started to fail then every postback to the same page will cause the session to die.
Does anyone have any ideas. Also if the aspnet worker process is recycled would the memory process be set back to a low figure?
Thanks for any help.
Steve
The session_end can fire that often, if you had started a new session every
3-4 minutes. Then as those sessions end, the event is fired.
"Steve Letford" <st***@straker.co.nz> wrote in message
news:uC**************@TK2MSFTNGP12.phx.gbl... Thanks for the reply, But I checked my memory usage for the aspnet worker process and it remains high when the session ends. Does this mean that it hasn't recycled?
Also, I've noticed that without doing anything, i.e. clicking any buttons. I have put a break point on my session_end and it fires every 3 or 4 minutes.
Not too sure what is going on here? Any ideas?
Thanks for your help.
Steve "Ram" <ra**********@yahoo.com> wrote in message news:fe**************************@posting.google.c om... If ASPNET worker process is recycled, your application is restarted. Then you will loose all your sessions also.
"Steve Letford" <sl******@ems-global.com> wrote in message news:<#T**************@TK2MSFTNGP11.phx.gbl>... Hi, I've just read the ms KB article on how sessions can die because of
the underscore in the machine name and don't think that it applies to me. I've tried using the IP address of the server and have tested it locally using localhost and my sessions still die.
It seems to happen on one particular page. It has some heavy db activity but my connections are pooled.
It also seems to happen before any activity occurs once it has started to fail then every postback to the same page will cause the session to
die. Does anyone have any ideas. Also if the aspnet worker process is recycled would the memory process be set back to a low figure?
Thanks for any help.
Steve
Thanks but I'm wondering why the session is ending. I'm not doing anything.
I'm just sitting watching the screen. My session timeout should be at 20
mins.
If the aspnet worker process is recycling wouldn't I see the memory usage of
it going down each time as it recycles, this isn't happening. Which leaves
me a bit confused..
Thanks for any more help.
Steve
"Marina" <zl*******@nospam.hotmail.com> wrote in message
news:Oq**************@TK2MSFTNGP12.phx.gbl... The session_end can fire that often, if you had started a new session
every 3-4 minutes. Then as those sessions end, the event is fired.
"Steve Letford" <st***@straker.co.nz> wrote in message news:uC**************@TK2MSFTNGP12.phx.gbl... Thanks for the reply, But I checked my memory usage for the aspnet worker process and it
remains high when the session ends. Does this mean that it hasn't recycled?
Also, I've noticed that without doing anything, i.e. clicking any
buttons. I have put a break point on my session_end and it fires every 3 or 4 minutes.
Not too sure what is going on here? Any ideas?
Thanks for your help.
Steve "Ram" <ra**********@yahoo.com> wrote in message news:fe**************************@posting.google.c om... If ASPNET worker process is recycled, your application is restarted. Then you will loose all your sessions also.
"Steve Letford" <sl******@ems-global.com> wrote in message news:<#T**************@TK2MSFTNGP11.phx.gbl>... > Hi, > I've just read the ms KB article on how sessions can die because of the > underscore in the machine name and don't think that it applies to
me. I've > tried using the IP address of the server and have tested it locally using > localhost and my sessions still die. > > It seems to happen on one particular page. It has some heavy db activity > but my connections are pooled. > > It also seems to happen before any activity occurs once it has
started to > fail then every postback to the same page will cause the session to die. > > Does anyone have any ideas. Also if the aspnet worker process is
recycled > would the memory process be set back to a low figure? > > Thanks for any help. > > Steve
Finally figured it out.
My page has a dynamically created javascript tree and I have a link that
allows all the items in the tree to expand or contract.
If this link is called then it loops through all the top level items and
sets a cookie saying expanded or contracted.
If I click on item at a time there is no problem the cookie is set and it
all works. But when the procedure is called that sets all the cookies at
once it kills my session????
my cookie names are all numbers, there aren't any strange characters so its
a bit of a mystery.
Appreciate any enlightenment.
Steve
"Steve Letford" <sl******@ems-global.com> wrote in message
news:Oz****************@TK2MSFTNGP12.phx.gbl... Thanks but I'm wondering why the session is ending. I'm not doing
anything. I'm just sitting watching the screen. My session timeout should be at 20 mins.
If the aspnet worker process is recycling wouldn't I see the memory usage
of it going down each time as it recycles, this isn't happening. Which
leaves me a bit confused..
Thanks for any more help.
Steve
"Marina" <zl*******@nospam.hotmail.com> wrote in message news:Oq**************@TK2MSFTNGP12.phx.gbl... The session_end can fire that often, if you had started a new session every 3-4 minutes. Then as those sessions end, the event is fired.
"Steve Letford" <st***@straker.co.nz> wrote in message news:uC**************@TK2MSFTNGP12.phx.gbl... Thanks for the reply, But I checked my memory usage for the aspnet worker process and it remains high when the session ends. Does this mean that it hasn't recycled?
Also, I've noticed that without doing anything, i.e. clicking any buttons. I have put a break point on my session_end and it fires every 3 or 4 minutes.
Not too sure what is going on here? Any ideas?
Thanks for your help.
Steve "Ram" <ra**********@yahoo.com> wrote in message news:fe**************************@posting.google.c om... > If ASPNET worker process is recycled, your application is restarted. > Then you will loose all your sessions also. > > "Steve Letford" <sl******@ems-global.com> wrote in message news:<#T**************@TK2MSFTNGP11.phx.gbl>... > > Hi, > > I've just read the ms KB article on how sessions can die because
of the > > underscore in the machine name and don't think that it applies to me. I've > > tried using the IP address of the server and have tested it
locally using > > localhost and my sessions still die. > > > > It seems to happen on one particular page. It has some heavy db activity > > but my connections are pooled. > > > > It also seems to happen before any activity occurs once it has started to > > fail then every postback to the same page will cause the session
to die. > > > > Does anyone have any ideas. Also if the aspnet worker process is recycled > > would the memory process be set back to a low figure? > > > > Thanks for any help. > > > > Steve
Hi,
1) Check this:
The number and the size of the cookies on a client are restricted.
Maximal 300 cookies can be stored on a client.
If the 301st cookies should be stored, the least recently used cookie
will be deleted.
Maximal 20 cookies per server or domain can be stored on a client.
If the server wants to store its 21st cookie, the least recently used
cookie (from this server) will be deleted.
Try to use other method then cookies. It you need this data on the
server you can store it in ViewState for example.
2)aspnet_wp or w3wp process can shut down just one application which
"lives" in one AppDomain. if that’s happened the process memory usage
wont shrink dramatically.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I think my cooke was getting too big, which may have been killing the
session?
"Steve Letford" <sl******@ems-global.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... Finally figured it out. My page has a dynamically created javascript tree and I have a link that allows all the items in the tree to expand or contract. If this link is called then it loops through all the top level items and sets a cookie saying expanded or contracted.
If I click on item at a time there is no problem the cookie is set and it all works. But when the procedure is called that sets all the cookies at once it kills my session????
my cookie names are all numbers, there aren't any strange characters so
its a bit of a mystery.
Appreciate any enlightenment.
Steve
"Steve Letford" <sl******@ems-global.com> wrote in message news:Oz****************@TK2MSFTNGP12.phx.gbl... Thanks but I'm wondering why the session is ending. I'm not doing anything. I'm just sitting watching the screen. My session timeout should be at
20 mins.
If the aspnet worker process is recycling wouldn't I see the memory
usage of it going down each time as it recycles, this isn't happening. Which leaves me a bit confused..
Thanks for any more help.
Steve
"Marina" <zl*******@nospam.hotmail.com> wrote in message news:Oq**************@TK2MSFTNGP12.phx.gbl... The session_end can fire that often, if you had started a new session every 3-4 minutes. Then as those sessions end, the event is fired.
"Steve Letford" <st***@straker.co.nz> wrote in message news:uC**************@TK2MSFTNGP12.phx.gbl... > Thanks for the reply, > But I checked my memory usage for the aspnet worker process and it remains > high when the session ends. Does this mean that it hasn't recycled? > > Also, I've noticed that without doing anything, i.e. clicking any buttons. > I have put a break point on my session_end and it fires every 3 or 4 > minutes. > > Not too sure what is going on here? > Any ideas? > > Thanks for your help. > > Steve > "Ram" <ra**********@yahoo.com> wrote in message > news:fe**************************@posting.google.c om... > > If ASPNET worker process is recycled, your application is
restarted. > > Then you will loose all your sessions also. > > > > "Steve Letford" <sl******@ems-global.com> wrote in message > news:<#T**************@TK2MSFTNGP11.phx.gbl>... > > > Hi, > > > I've just read the ms KB article on how sessions can die because of the > > > underscore in the machine name and don't think that it applies
to me. > I've > > > tried using the IP address of the server and have tested it locally > using > > > localhost and my sessions still die. > > > > > > It seems to happen on one particular page. It has some heavy db > activity > > > but my connections are pooled. > > > > > > It also seems to happen before any activity occurs once it has started > to > > > fail then every postback to the same page will cause the session to die. > > > > > > Does anyone have any ideas. Also if the aspnet worker process
is > recycled > > > would the memory process be set back to a low figure? > > > > > > Thanks for any help. > > > > > > Steve > >
Count the number of your tree leaf and figure it up ;-).
Anyway cookies don’t use to manage many state items.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I am not sure about the memory usage. You can check the ASPNET worker
process recycling in the APplication Log of Windows Event Viewer.
Check those events where the source is ASP.NET. It will show some
thing like this
Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1003
Date: 8/6/2003
Time: 5:33:44 AM
User: N/A
Computer: RAM
Description:
aspnet_wp.exe (PID: 2456) was recycled because it was suspected to be
in a deadlocked state. It did not send any responses for pending
requests in the last 180 seconds.
"Steve Letford" <sl******@ems-global.com> wrote in message news:<Oz**************@TK2MSFTNGP12.phx.gbl>... Thanks but I'm wondering why the session is ending. I'm not doing anything. I'm just sitting watching the screen. My session timeout should be at 20 mins.
If the aspnet worker process is recycling wouldn't I see the memory usage of it going down each time as it recycles, this isn't happening. Which leaves me a bit confused..
Thanks for any more help.
Steve
"Marina" <zl*******@nospam.hotmail.com> wrote in message news:Oq**************@TK2MSFTNGP12.phx.gbl... The session_end can fire that often, if you had started a new session every 3-4 minutes. Then as those sessions end, the event is fired.
"Steve Letford" <st***@straker.co.nz> wrote in message news:uC**************@TK2MSFTNGP12.phx.gbl... Thanks for the reply, But I checked my memory usage for the aspnet worker process and it remains high when the session ends. Does this mean that it hasn't recycled?
Also, I've noticed that without doing anything, i.e. clicking any buttons. I have put a break point on my session_end and it fires every 3 or 4 minutes.
Not too sure what is going on here? Any ideas?
Thanks for your help.
Steve "Ram" <ra**********@yahoo.com> wrote in message news:fe**************************@posting.google.c om... > If ASPNET worker process is recycled, your application is restarted. > Then you will loose all your sessions also. > > "Steve Letford" <sl******@ems-global.com> wrote in message news:<#T**************@TK2MSFTNGP11.phx.gbl>... > > Hi, > > I've just read the ms KB article on how sessions can die because of the > > underscore in the machine name and don't think that it applies to me. I've > > tried using the IP address of the server and have tested it locally using > > localhost and my sessions still die. > > > > It seems to happen on one particular page. It has some heavy db activity > > but my connections are pooled. > > > > It also seems to happen before any activity occurs once it has started to > > fail then every postback to the same page will cause the session to die. > > > > Does anyone have any ideas. Also if the aspnet worker process is recycled > > would the memory process be set back to a low figure? > > > > Thanks for any help. > > > > Steve
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dica |
last post by:
we've just set up a subdomain, 'demos' for one of our projects that normally
works fine. on the login page, if the user enters the correct username/pw,
we write session info and then...
|
by: someone |
last post by:
Let's say I have a Session timeout of 20 minutes. If the browser
periodically request a graphic file, will that keep its Session alive?
What keeps the Session alive? Is it the Session cookie that...
|
by: Patrick.O.Ige |
last post by:
I have a code below.(It validates against a SQL DB(login page).thats is
giving me an error!
When i try to use :- Session = dr.ToString();
To catch the username so as to redirect the user logged in...
|
by: Patrick.O.Ige |
last post by:
I have a problem with the code below:-
When i use a username for example dog for the first time it works but later
when i use cat for example it keeps showing
Hello:- Dog..
It keeps DOG in the...
|
by: Raghu Raman |
last post by:
Hi,
am in c#.net project.
am using the session object for some logic.
e-g:session="Add";
i can refer this by using
if(Session=="Add")
{
logic
|
by: bennett |
last post by:
In the web.config file for my application, in the <sessionState>
section I have set timeout="120" (in minutes), but session state
variables in my application seem to be expiring in about 5 minutes....
|
by: Marcus |
last post by:
I know that when you start a session in PHP, the "cookie" it creates is
not the same as those that are stored in your browser's temp folder, and
instead is kept in RAM. I am confused because in...
|
by: dihola |
last post by:
Hi,
I have a website running in IIS7 and it seems to be creating a new session for every request I make. The values I store in Session are lost with every request.
This is the forms bit in my...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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,...
| |