Re: does ExecutionTimeout include file upload time?
- From: "Patrice" <http://www.chez.com/scribe/>
- Date: Tue, 18 Sep 2007 15:35:50 +0200
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: Andy Fish
- 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
- does ExecutionTimeout include file upload time?
- Prev by Date: storing my own information in the Request object
- Next by Date: Re: how do i generate the page prerender event in visual studio 2005
- Previous by thread: Re: does ExecutionTimeout include file upload time?
- Next by thread: Re: does ExecutionTimeout include file upload time?
- Index(es):
Relevant Pages
|