Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Session lasting too long -- Session_End event firing way late !! ??

Reply
Thread Tools

Session lasting too long -- Session_End event firing way late !! ??

 
 
Steve M
Guest
Posts: n/a
 
      07-28-2003
Why are my sessions lasting so long?
I have them set to 20 minute timeout in config file?
The Session_End event is getting called an hour or more sometimes--well
after the user has stopped interacting with my site.
Anyone have any insight?
Thanks in advance


 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      07-29-2003
Does the machine.config file have a setting that is overriding your
web.config file?


"Steve M" <> wrote in message
news:T2dVa.56263$...
> Why are my sessions lasting so long?
> I have them set to 20 minute timeout in config file?
> The Session_End event is getting called an hour or more sometimes--well
> after the user has stopped interacting with my site.
> Anyone have any insight?
> Thanks in advance
>
>



 
Reply With Quote
 
 
 
 
Steve M
Guest
Posts: n/a
 
      07-29-2003
> Does the machine.config file have a setting that is overriding your
> web.config file?



No.
I recopied the project and now it is again working as expected -- however, I
don't have any idea what caused the problem.
I think that the Session_End is called from a background thread, which has a
lower priority--but it makes little sense that most of the sessions were
lasting on the order of an hour longer than expected.
Is there anything that could cause this?


 
Reply With Quote
 
Yan-Hong Huang[MSFT]
Guest
Posts: n/a
 
      07-29-2003
Hello Steve,

I am not sure of what happened without having the solid repro steps. Maybe there is something wrong in the system at then.
Under that situation, try to restart your web application by changing some code in global.asax or etc. That forces the web
app reloaded by asp.net and may resolve the problem.

If you could reproduce this problem next time, please post here with more information. We are glad to be of assistance.
Thanks very much.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Steve M" <>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!References: <T2dVa.56263$> <#>
!Subject: Re: Session lasting too long -- Session_End event firing way late !! ??
!Lines: 13
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <gTkVa.42880$>
!Date: Tue, 29 Jul 2003 02:22:04 GMT
!NNTP-Posting-Host: 65.28.105.11
!X-Complaints-To:
!X-Trace: twister.rdc-kc.rr.com 1059445324 65.28.105.11 (Mon, 28 Jul 2003 21:22:04 CDT)
!NNTP-Posting-Date: Mon, 28 Jul 2003 21:22:04 CDT
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!
newsfeed.news2me.com!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cy clone2.kc.rr.com!
news2.kc.rr.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:162840
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!> Does the machine.config file have a setting that is overriding your
!> web.config file?
!
!
!No.
!I recopied the project and now it is again working as expected -- however, I
!don't have any idea what caused the problem.
!I think that the Session_End is called from a background thread, which has a
!lower priority--but it makes little sense that most of the sessions were
!lasting on the order of an hour longer than expected.
!Is there anything that could cause this?
!
!
!


 
Reply With Quote
 
Steve M
Guest
Posts: n/a
 
      07-29-2003
Unfortunately, it has shown up again!!
Is there anything in particular that COULD cause this problem?
What MIGHT cause Session_End to be called about an hour LATER than the
Session Timeout value?
Thanks again.


"Yan-Hong Huang[MSFT]" <> wrote in message
news:EemB%...
> Hello Steve,
>
> I am not sure of what happened without having the solid repro steps. Maybe

there is something wrong in the system at then.
> Under that situation, try to restart your web application by changing some

code in global.asax or etc. That forces the web
> app reloaded by asp.net and may resolve the problem.
>
> If you could reproduce this problem next time, please post here with more

information. We are glad to be of assistance.
> Thanks very much.
>
> Best regards,
> Yanhong Huang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> --------------------
> !From: "Steve M" <>
> !Newsgroups: microsoft.public.dotnet.framework.aspnet
> !References: <T2dVa.56263$>

<#>
> !Subject: Re: Session lasting too long -- Session_End event firing way

late !! ??
> !Lines: 13
> !X-Priority: 3
> !X-MSMail-Priority: Normal
> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> !Message-ID: <gTkVa.42880$>
> !Date: Tue, 29 Jul 2003 02:22:04 GMT
> !NNTP-Posting-Host: 65.28.105.11
> !X-Complaints-To:
> !X-Trace: twister.rdc-kc.rr.com 1059445324 65.28.105.11 (Mon, 28 Jul 2003

21:22:04 CDT)
> !NNTP-Posting-Date: Mon, 28 Jul 2003 21:22:04 CDT
> !Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!npeer.de.kpn-eurorings.net!
>

newsfeed.news2me.com!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!cyclon
e.socal.rr.com!cyclone2.kc.rr.com!
> news2.kc.rr.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail
> !Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet:162840
> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> !
> !> Does the machine.config file have a setting that is overriding your
> !> web.config file?
> !
> !
> !No.
> !I recopied the project and now it is again working as expected --

however, I
> !don't have any idea what caused the problem.
> !I think that the Session_End is called from a background thread, which

has a
> !lower priority--but it makes little sense that most of the sessions were
> !lasting on the order of an hour longer than expected.
> !Is there anything that could cause this?
> !
> !
> !
>
>



 
Reply With Quote
 
Yan-Hong Huang[MSFT]
Guest
Posts: n/a
 
      07-31-2003
Hello Steve,

Did it happened after some time repeatly? I suggest you install the latest framework and reinstall asp.net to see if the
problem could be resolved.

Thanks.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Steve M" <>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!References: <T2dVa.56263$> <#>
<gTkVa.42880$> <EemB#>
!Subject: Re: Session lasting too long -- Session_End event firing way late !! ??
!Lines: 79
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <BnyVa.43610$>
!Date: Tue, 29 Jul 2003 17:44:01 GMT
!NNTP-Posting-Host: 65.28.105.11
!X-Complaints-To:
!X-Trace: twister.rdc-kc.rr.com 1059500641 65.28.105.11 (Tue, 29 Jul 2003 12:44:01 CDT)
!NNTP-Posting-Date: Tue, 29 Jul 2003 12:44:01 CDT
!Organization: RoadRunner
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!
news.tele.dk!news.tele.dk!small.news.tele.dk!newsf eed.news2me.com!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!
cyclone.socal.rr.com!cyclone2.kc.rr.com!news2.kc.r r.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:163062
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Unfortunately, it has shown up again!!
!Is there anything in particular that COULD cause this problem?
!What MIGHT cause Session_End to be called about an hour LATER than the
!Session Timeout value?
!Thanks again.
!
!
!"Yan-Hong Huang[MSFT]" <> wrote in message
!news:EemB%...
!> Hello Steve,
!>
!> I am not sure of what happened without having the solid repro steps. Maybe
!there is something wrong in the system at then.
!> Under that situation, try to restart your web application by changing some
!code in global.asax or etc. That forces the web
!> app reloaded by asp.net and may resolve the problem.
!>
!> If you could reproduce this problem next time, please post here with more
!information. We are glad to be of assistance.
!> Thanks very much.
!>
!> Best regards,
!> Yanhong Huang
!> Microsoft Online Partner Support
!>
!> Get Secure! - www.microsoft.com/security
!> This posting is provided "AS IS" with no warranties, and confers no
!rights.
!>
!> --------------------
!> !From: "Steve M" <>
!> !Newsgroups: microsoft.public.dotnet.framework.aspnet
!> !References: <T2dVa.56263$>
!<#>
!> !Subject: Re: Session lasting too long -- Session_End event firing way
!late !! ??
!> !Lines: 13
!> !X-Priority: 3
!> !X-MSMail-Priority: Normal
!> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!> !Message-ID: <gTkVa.42880$>
!> !Date: Tue, 29 Jul 2003 02:22:04 GMT
!> !NNTP-Posting-Host: 65.28.105.11
!> !X-Complaints-To:
!> !X-Trace: twister.rdc-kc.rr.com 1059445324 65.28.105.11 (Mon, 28 Jul 2003
!21:22:04 CDT)
!> !NNTP-Posting-Date: Mon, 28 Jul 2003 21:22:04 CDT
!> !Path:
!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onlin
!e.de!npeer.de.kpn-eurorings.net!
!>
!newsfeed.news2me.com!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!cyclon
!e.socal.rr.com!cyclone2.kc.rr.com!
!> news2.kc.rr.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail
!> !Xref: cpmsftngxa06.phx.gbl
!microsoft.public.dotnet.framework.aspnet:162840
!> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!> !
!> !> Does the machine.config file have a setting that is overriding your
!> !> web.config file?
!> !
!> !
!> !No.
!> !I recopied the project and now it is again working as expected --
!however, I
!> !don't have any idea what caused the problem.
!> !I think that the Session_End is called from a background thread, which
!has a
!> !lower priority--but it makes little sense that most of the sessions were
!> !lasting on the order of an hour longer than expected.
!> !Is there anything that could cause this?
!> !
!> !
!> !
!>
!>
!
!
!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[EJB] Long lasting session bean - how to implement progress indicator? pljosh.mail@gmail.com Java 0 12-13-2006 12:55 AM
Session_End Event Always Firing Jeremy ASP .Net 1 12-03-2005 05:20 PM
SimpleHTTPRequestHandler handling long lasting requests problem Andy Leszczynski Python 4 03-14-2005 06:35 AM
Time out problems for long lasting actions Mantas Miliukas ASP .Net Building Controls 2 03-09-2005 04:10 PM
long lasting news server? Mrs Beeble Brock NZ Computing 13 02-01-2005 02:33 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57