Ask a Question related to ASP.NET General, Design and Development.
-
Steve Letford #1
session keeps dying?
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
Steve Letford Guest
-
FMS Edge dying...
So we've got like 15 Edge servers setup wtih 5 Origin servers. Things seem to generally work for streaming live video. There are problems though... -
I'm DYING over this STUPID INFO BAR!!!!!!!!!!!!
Ok I rightclicked the info bar to download Flash Player 8 and then clicked to never show it again. Can I get it back? I've been trying to get it back... -
Help I'm Dying over here
I am trying to place a .swf file in a frame - the frame is 190 x 430 pixels. When I place it at 100% width and height it fits perfect in Explorer... -
Use module (maybe) w/o dying
sholden@flexal.cs.usyd.edu.au (Sam Holden) wrote in message news:<slrnbh7fkd.75q.sholden@flexal.cs.usyd.edu.au>... I prefer the idiom: our... -
Tnslistener dying with 9.2 on Win XP Pro
"00374654" <member32966@dbforums.com> wrote in message news:3095316.1057846472@dbforums.com... Try this: select 6 * 7 from dual Regards,... -
Ram #2
Re: session keeps dying?
If ASPNET worker process is recycled, your application is restarted.
Then you will loose all your sessions also.
"Steve Letford" <sletford@ems-global.com> wrote in message news:<#Tk6K2wWDHA.2032@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.
>
> SteveRam Guest
-
Marina #3
Re: session keeps dying?
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" <steve@straker.co.nz> wrote in message
news:uC8N2LzWDHA.1620@TK2MSFTNGP12.phx.gbl...the> 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" <rampabbaraju@yahoo.com> wrote in message
> news:fee5cd7f.0308050038.317fc3bb@posting.google.c om...> news:<#Tk6K2wWDHA.2032@TK2MSFTNGP11.phx.gbl>...> > If ASPNET worker process is recycled, your application is restarted.
> > Then you will loose all your sessions also.
> >
> > "Steve Letford" <sletford@ems-global.com> wrote in message> > > Hi,
> > > I've just read the ms KB article on how sessions can die because ofdie.> I've> > > underscore in the machine name and don't think that it applies to me.> using> > > tried using the IP address of the server and have tested it locally> activity> > > localhost and my sessions still die.
> > >
> > > It seems to happen on one particular page. It has some heavy db> to> > > but my connections are pooled.
> > >
> > > It also seems to happen before any activity occurs once it has started> > > fail then every postback to the same page will cause the session to> recycled> > >
> > > Does anyone have any ideas. Also if the aspnet worker process is>> > > would the memory process be set back to a low figure?
> > >
> > > Thanks for any help.
> > >
> > > Steve
>
Marina Guest
-
Steve Letford #4
Re: session keeps dying?
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" <zlatkinam@nospam.hotmail.com> wrote in message
news:OqNCaD2WDHA.1204@TK2MSFTNGP12.phx.gbl...every> The session_end can fire that often, if you had started a new sessionremains> 3-4 minutes. Then as those sessions end, the event is fired.
>
> "Steve Letford" <steve@straker.co.nz> wrote in message
> news:uC8N2LzWDHA.1620@TK2MSFTNGP12.phx.gbl...> > Thanks for the reply,
> > But I checked my memory usage for the aspnet worker process and itbuttons.> > high when the session ends. Does this mean that it hasn't recycled?
> >
> > Also, I've noticed that without doing anything, i.e. clicking anyme.> the> > 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" <rampabbaraju@yahoo.com> wrote in message
> > news:fee5cd7f.0308050038.317fc3bb@posting.google.c om...> > news:<#Tk6K2wWDHA.2032@TK2MSFTNGP11.phx.gbl>...> > > If ASPNET worker process is recycled, your application is restarted.
> > > Then you will loose all your sessions also.
> > >
> > > "Steve Letford" <sletford@ems-global.com> wrote in message> > > > Hi,
> > > > I've just read the ms KB article on how sessions can die because of> > > > underscore in the machine name and don't think that it applies tostarted> > I've> > using> > > > tried using the IP address of the server and have tested it locally> > activity> > > > localhost and my sessions still die.
> > > >
> > > > It seems to happen on one particular page. It has some heavy db> > > > but my connections are pooled.
> > > >
> > > > It also seems to happen before any activity occurs once it has> die.> > to> > > > fail then every postback to the same page will cause the session to>> > recycled> > > >
> > > > Does anyone have any ideas. Also if the aspnet worker process is> >> > > > would the memory process be set back to a low figure?
> > > >
> > > > Thanks for any help.
> > > >
> > > > Steve
> >
>
Steve Letford Guest
-
Steve Letford #5
Re: session keeps dying?
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" <sletford@ems-global.com> wrote in message
news:OzYSM%234WDHA.1204@TK2MSFTNGP12.phx.gbl...anything.> Thanks but I'm wondering why the session is ending. I'm not doingof> 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 usageleaves> it going down each time as it recycles, this isn't happening. Whichof> me a bit confused..
>
> Thanks for any more help.
>
> Steve
>
> "Marina" <zlatkinam@nospam.hotmail.com> wrote in message
> news:OqNCaD2WDHA.1204@TK2MSFTNGP12.phx.gbl...> every> > The session_end can fire that often, if you had started a new session> remains> > 3-4 minutes. Then as those sessions end, the event is fired.
> >
> > "Steve Letford" <steve@straker.co.nz> wrote in message
> > news:uC8N2LzWDHA.1620@TK2MSFTNGP12.phx.gbl...> > > Thanks for the reply,
> > > But I checked my memory usage for the aspnet worker process and it> buttons.> > > 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> > > 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" <rampabbaraju@yahoo.com> wrote in message
> > > news:fee5cd7f.0308050038.317fc3bb@posting.google.c om...
> > > > If ASPNET worker process is recycled, your application is restarted.
> > > > Then you will loose all your sessions also.
> > > >
> > > > "Steve Letford" <sletford@ems-global.com> wrote in message
> > > news:<#Tk6K2wWDHA.2032@TK2MSFTNGP11.phx.gbl>...
> > > > > Hi,
> > > > > I've just read the ms KB article on how sessions can die becauselocally> me.> > the> > > > > underscore in the machine name and don't think that it applies to> > > I've
> > > > > tried using the IP address of the server and have tested itto> started> > > 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> > > to
> > > > > fail then every postback to the same page will cause the session>> > 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
> > >
> > >
> >
>
Steve Letford Guest
-
Natty Gur #6
Re: session keeps dying?
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 [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
Steve Letford #7
Re: session keeps dying?
I think my cooke was getting too big, which may have been killing the
session?
"Steve Letford" <sletford@ems-global.com> wrote in message
news:%23Bp8FW8WDHA.1004@TK2MSFTNGP12.phx.gbl...its> 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 so20> a bit of a mystery.
>
> Appreciate any enlightenment.
>
> Steve
>
>
> "Steve Letford" <sletford@ems-global.com> wrote in message
> news:OzYSM%234WDHA.1204@TK2MSFTNGP12.phx.gbl...> anything.> > Thanks but I'm wondering why the session is ending. I'm not doing> > I'm just sitting watching the screen. My session timeout should be atusage> > mins.
> >
> > If the aspnet worker process is recycling wouldn't I see the memoryrestarted.> of> leaves> > it going down each time as it recycles, this isn't happening. Which> > me a bit confused..
> >
> > Thanks for any more help.
> >
> > Steve
> >
> > "Marina" <zlatkinam@nospam.hotmail.com> wrote in message
> > news:OqNCaD2WDHA.1204@TK2MSFTNGP12.phx.gbl...> > every> > > The session_end can fire that often, if you had started a new session> > remains> > > 3-4 minutes. Then as those sessions end, the event is fired.
> > >
> > > "Steve Letford" <steve@straker.co.nz> wrote in message
> > > news:uC8N2LzWDHA.1620@TK2MSFTNGP12.phx.gbl...
> > > > Thanks for the reply,
> > > > But I checked my memory usage for the aspnet worker process and it> > buttons.> > > > 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> > > > 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" <rampabbaraju@yahoo.com> wrote in message
> > > > news:fee5cd7f.0308050038.317fc3bb@posting.google.c om...
> > > > > If ASPNET worker process is recycled, your application isto> of> > > > > Then you will loose all your sessions also.
> > > > >
> > > > > "Steve Letford" <sletford@ems-global.com> wrote in message
> > > > news:<#Tk6K2wWDHA.2032@TK2MSFTNGP11.phx.gbl>...
> > > > > > Hi,
> > > > > > I've just read the ms KB article on how sessions can die because> > > the
> > > > > > underscore in the machine name and don't think that it appliesis> locally> > me.> > > > I've
> > > > > > tried using the IP address of the server and have tested it> to> > started> > > > 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> > > > to
> > > > > > fail then every postback to the same page will cause the session> > > die.
> > > > > >
> > > > > > Does anyone have any ideas. Also if the aspnet worker process>> >> > > > recycled
> > > > > > would the memory process be set back to a low figure?
> > > > > >
> > > > > > Thanks for any help.
> > > > > >
> > > > > > Steve
> > > >
> > > >
> > >
> > >
> >
>
Steve Letford Guest
-
Natty Gur #8
Re: session keeps dying?
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 [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
Ram #9
Re: session keeps dying?
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" <sletford@ems-global.com> wrote in message news:<OzYSM#4WDHA.1204@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" <zlatkinam@nospam.hotmail.com> wrote in message
> news:OqNCaD2WDHA.1204@TK2MSFTNGP12.phx.gbl...> every> > The session_end can fire that often, if you had started a new session> remains> > 3-4 minutes. Then as those sessions end, the event is fired.
> >
> > "Steve Letford" <steve@straker.co.nz> wrote in message
> > news:uC8N2LzWDHA.1620@TK2MSFTNGP12.phx.gbl...> > > Thanks for the reply,
> > > But I checked my memory usage for the aspnet worker process and it> buttons.> > > 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> news:<#Tk6K2wWDHA.2032@TK2MSFTNGP11.phx.gbl>...> > > 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" <rampabbaraju@yahoo.com> wrote in message
> > > news:fee5cd7f.0308050038.317fc3bb@posting.google.c om...
> > > > If ASPNET worker process is recycled, your application is restarted.
> > > > Then you will loose all your sessions also.
> > > >
> > > > "Steve Letford" <sletford@ems-global.com> wrote in message> the> > > > > Hi,
> > > > > I've just read the ms KB article on how sessions can die because of> me.> > > > > underscore in the machine name and don't think that it applies to
> I've> using> > > > > tried using the IP address of the server and have tested it locally> activity> > > > > localhost and my sessions still die.
> > > > >
> > > > > It seems to happen on one particular page. It has some heavy db> started> > > > > but my connections are pooled.
> > > > >
> > > > > It also seems to happen before any activity occurs once it has
> to> die.> > > > > fail then every postback to the same page will cause the session to> recycled> > > > >
> > > > > Does anyone have any ideas. Also if the aspnet worker process is> >> > > > > would the memory process be set back to a low figure?
> > > > >
> > > > > Thanks for any help.
> > > > >
> > > > > Steve
> > >
> > >
> >Ram Guest



Reply With Quote

