Ask a Question related to ASP.NET General, Design and Development.
-
Steve M #1
Session lasting too long -- Session_End event firing way late !! ??
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
Steve M Guest
-
Question about a long session timeout (somewhat long)
I've been told by my developers to increase the asp.net session timeout to 72 hours. Being a server guy, it concerns me because of the obvious... -
Time out problems for long lasting actions
Hi, I have developed a webserver control that executes some business logic on the server side. The problem is that the logic takes some time... -
Problem with DataBind Late in Event?
In my Page_Load, I check for IsPostBack and fetch some data and bind ASP.NET page template textboxes to some columns. I also show a DataGrid on... -
Session_End Not Firing
Hey guys I have a user tracking setup to track users. What it does is once a user hits my site it sends me an email telling me some info and once a... -
Printers that produce long lasting prints...
Louise, did you look at the comparision charts on the Epson website? I believe there's data there on many (most?) of the Epson printers... Chuck -
Scott M. #2
Re: Session lasting too long -- Session_End event firing way late !! ??
Does the machine.config file have a setting that is overriding your
web.config file?
"Steve M" <steve@nospam.com> wrote in message
news:T2dVa.56263$6a3.1103664@twister.rdc-kc.rr.com...> 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
>
>
Scott M. Guest
-
Steve M #3
Re: Session lasting too long -- Session_End event firing way late !! ??
> 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?
Steve M Guest
-
Yan-Hong Huang[MSFT] #4
Re: Session lasting too long -- Session_End event firing way late !! ??
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! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "Steve M" <steve@nospam.com>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!References: <T2dVa.56263$6a3.1103664@twister.rdc-kc.rr.com> <#84LNmWVDHA.1280@tk2msftngp13.phx.gbl>
!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$o27.934363@twister.rdc-kc.rr.com>
!Date: Tue, 29 Jul 2003 02:22:04 GMT
!NNTP-Posting-Host: 65.28.105.11
!X-Complaints-To: [email]abuse@rr.com[/email]
!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?
!
!
!
Yan-Hong Huang[MSFT] Guest
-
Steve M #5
Re: Session lasting too long -- Session_End event firing way late !! ??
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]" <yhhuang@online.microsoft.com> wrote in message
news:EemB%23zaVDHA.2124@cpmsftngxa06.phx.gbl...there is something wrong in the system at then.> Hello Steve,
>
> I am not sure of what happened without having the solid repro steps. Maybecode in global.asax or etc. That forces the web> Under that situation, try to restart your web application by changing someinformation. We are glad to be of assistance.> app reloaded by asp.net and may resolve the problem.
>
> If you could reproduce this problem next time, please post here with morerights.> Thanks very much.
>
> Best regards,
> Yanhong Huang
> Microsoft Online Partner Support
>
> Get Secure! - [url]www.microsoft.com/security[/url]
> This posting is provided "AS IS" with no warranties, and confers no<#84LNmWVDHA.1280@tk2msftngp13.phx.gbl>>
> --------------------
> !From: "Steve M" <steve@nospam.com>
> !Newsgroups: microsoft.public.dotnet.framework.aspnet
> !References: <T2dVa.56263$6a3.1103664@twister.rdc-kc.rr.com>late !! ??> !Subject: Re: Session lasting too long -- Session_End event firing way21:22:04 CDT)> !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$o27.934363@twister.rdc-kc.rr.com>
> !Date: Tue, 29 Jul 2003 02:22:04 GMT
> !NNTP-Posting-Host: 65.28.105.11
> !X-Complaints-To: [email]abuse@rr.com[/email]
> !X-Trace: twister.rdc-kc.rr.com 1059445324 65.28.105.11 (Mon, 28 Jul 2003cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin> !NNTP-Posting-Date: Mon, 28 Jul 2003 21:22:04 CDT
> !Path:
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!microsoft.public.dotnet.framework.aspnet:162840> news2.kc.rr.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail
> !Xref: cpmsftngxa06.phx.gblhowever, I> !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 --has a> !don't have any idea what caused the problem.
> !I think that the Session_End is called from a background thread, which> !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?
> !
> !
> !
>
>
Steve M Guest
-
Yan-Hong Huang[MSFT] #6
Re: Session lasting too long -- Session_End event firing way late !! ??
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! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "Steve M" <steve@nospam.com>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!References: <T2dVa.56263$6a3.1103664@twister.rdc-kc.rr.com> <#84LNmWVDHA.1280@tk2msftngp13.phx.gbl>
<gTkVa.42880$o27.934363@twister.rdc-kc.rr.com> <EemB#zaVDHA.2124@cpmsftngxa06.phx.gbl>
!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$7O4.974192@twister.rdc-kc.rr.com>
!Date: Tue, 29 Jul 2003 17:44:01 GMT
!NNTP-Posting-Host: 65.28.105.11
!X-Complaints-To: [email]abuse@rr.com[/email]
!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]" <yhhuang@online.microsoft.com> wrote in message
!news:EemB%23zaVDHA.2124@cpmsftngxa06.phx.gbl...
!> 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! - [url]www.microsoft.com/security[/url]
!> This posting is provided "AS IS" with no warranties, and confers no
!rights.
!>
!> --------------------
!> !From: "Steve M" <steve@nospam.com>
!> !Newsgroups: microsoft.public.dotnet.framework.aspnet
!> !References: <T2dVa.56263$6a3.1103664@twister.rdc-kc.rr.com>
!<#84LNmWVDHA.1280@tk2msftngp13.phx.gbl>
!> !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$o27.934363@twister.rdc-kc.rr.com>
!> !Date: Tue, 29 Jul 2003 02:22:04 GMT
!> !NNTP-Posting-Host: 65.28.105.11
!> !X-Complaints-To: [email]abuse@rr.com[/email]
!> !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?
!> !
!> !
!> !
!>
!>
!
!
!
Yan-Hong Huang[MSFT] Guest



Reply With Quote

