thanks mac and peter,

yes, it seems more like a config issue to me as well.

i have tweaked the machine.config (responseDeadlockInterval) and
overidden the  maxRequestLength in the web.config.
seems to work well, but thought it might be useful to have an assurance
on the page as well.

thanks for the help!







>>> [EMAIL PROTECTED] 08/17/2004 1:57:30 PM >>>
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



Yahoo! Groups Links










Yahoo! Groups SponsorADVERTISEMENT

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 the Yahoo! Terms of Service.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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