Re: does ExecutionTimeout include file upload time?
- From: "Andy Fish" <ajfish@xxxxxxxxxxxxxxxx>
- Date: Tue, 18 Sep 2007 15:30:05 +0100
hmm, I just looked up the documentation
http://msdn2.microsoft.com/en-us/library/system.web.httpserverutility.scripttimeout.aspx
It says that ScriptTimeout only works when you have <compilation
debug="true"> in the web.config so it won't be an option for my production
application
Andy
"Patrice" <http://www.chez.com/scribe/> wrote in message
news:eFLpUjf%23HHA.1900@xxxxxxxxxxxxxxxxxxxxxxx
Try but AFAIK in classic ASP, the Server.ScriptTimeOut was initialized for
each request with the IIS default value. Changes to this value were only
valid for the duration of the current request.
Just try to set the value in page A and display the value in page B to
confirm (or not) that the behavior is the same in ASP.NET...
---
Patrice
"Andy Fish" <ajfish@xxxxxxxxxxxxxxxx> a écrit dans le message de news:
uBSuSFf%23HHA.3800@xxxxxxxxxxxxxxxxxxxxxxx
ok I have done some more experiments and it seems that the execution
timeout does indeed include the time to upload the file
I would like to allow the user to upload large files if required, but I
do not want to just set the global ExecutionTimeout to some massiv value
because I think the default value is sensible for all other requests.
Is there any way to set the execution timeout differently on different
pages? or to override it programmatically for an individual HttpRequest
object ?
TIA
Andy
"Andy Fish" <ajfish@xxxxxxxxxxxxxxxx> wrote in message
news:%23dQS7Je%23HHA.748@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am trying to investigate a problem reported by one of my users who
received a "System.Web.HttpException: Request timed out." error trying
to upload a large file into my asp.net 2.0 application.
I have seen several blog posts and other articles implying that the
ExecutionTimeout property includes the time taken to upload the file,
whereas I had been of the opinion that the execution timeout only
started ticking once the entire request had been received by the server,
and my recent experiments would seem to back this up.
Can anyone throw any light on this?
Andy
.
- Follow-Ups:
- Re: does ExecutionTimeout include file upload time?
- From: Ben Schwehn
- Re: does ExecutionTimeout include file upload time?
- From: Patrice
- Re: does ExecutionTimeout include file upload time?
- References:
- does ExecutionTimeout include file upload time?
- From: Andy Fish
- Re: does ExecutionTimeout include file upload time?
- From: Andy Fish
- Re: does ExecutionTimeout include file upload time?
- From: Patrice
- does ExecutionTimeout include file upload time?
- Prev by Date: Re: Server.HtmlDecode("‘") does not work
- Next by Date: Re: storing my own information in the Request object
- Previous by thread: Re: does ExecutionTimeout include file upload time?
- Next by thread: Re: does ExecutionTimeout include file upload time?
- Index(es):
Relevant Pages
|