It seems that this isn't really a time out issue. ASP.Net has a built in
limit as to how much data can be in any single request. You can open
this limit up on machine or web.config level. 

For instance, to allow for a 8mb upload you would work this into your
web.config:

<httpRuntime maxRequestLength="8192" />

hth
--
Sincerely,
Mac Kloberg
Liebherr America, Inc
http://www.liebherr.com

-----Original Message-----
From: Peter Brunone [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 17, 2004 4:35 PM
To: [EMAIL PROTECTED]
Subject: re: [AspNetAnyQuestionIsOk] Large File Upload


   I don't have a definitive answer, but Page.Context has a property
called Timeout that takes a TimeSpan object so you could potentially say

Context.Timeout = New TimeSpan(0, 1, 0)

   This constructor takes hours, minutes, and seconds as parameters, so
the above example would set your page timeout to one minute... assuming
it works.

   Let us know how you fare with this code.

Cheers,

Peter

Original Message:
>From: "denkide" <[EMAIL PROTECTED]>

>hello.
>
>i am having issues with large file uploads.
>my page times out on large uploads.
>
>i changed the responseDeadlockInterval in the machine.config file, but 
>would also like to add a script timeout for the particular page.
>
>i know that i can change the page timeout in the web.config, but only 
>need the pages that upload large files to have the longer timeout.
>
>in classic ASP it was possible to set the script timeout on a per page 
>basis ... is this possible in dotNet?
>
>tia.





------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links



 







------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to