Hi zusammen!
Ich habe ein Web - bei dem auch Fileup/download eingesetzt wird. Das funktioniert
insoweit auch ganz gut.
Nun gibt es aber in der Machine.config den Eintrag httpRuntime!
Hier mal die Standart Werte!
<!--
httpRuntime Attributes:
executionTimeout="[seconds]" - time in seconds before request is
automatically timed out
maxRequestLength="[KBytes]" - KBytes size of maximum request length to accept
useFullyQualifiedRedirectUrl="[true|false]" - Fully qualifiy the URL for
client redirects
minFreeThreads="[count]" - minimum number of free thread to allow execution
of new requests
minLocalRequestFreeThreads="[count]" - minimum number of free thread to
allow execution of new local requests
appRequestQueueLimit="[count]" - maximum number of requests queued for the
application
enableKernelOutputCache="[true|false]" - enable the http.sys cache on IIS6
and higher - default is true
enableVersionHeader="[true|false]" - outputs X-AspNet-Version header with
each request
-->
<httpRuntime executionTimeout="90" maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" enableVersionHeader="true"/>
Soweit ich das gesehen habe - kann man das jetzt in der Web.config �berschreiben -
schonmal ganz gut - aber kann man das vielleicht auch noch anpassen - das es nur f�r
bestimmte ASPX Seiten gilt? Quasi nur f�r die Upload Komponenten / Seite?
Der maxRequestLength von 4MB ist ja schon mal ok - aber mit nem Modem bzw. ISDN sind
die nie in dem Zeitlimit von (executionTimeout="90") 90sec zu erreichen - sondern da
sollten besser 600sec oder nochmehr rein.
Grobe Rechnung:
- ISDN schafft max 8kb/sec -> 1MB/128sec -> 4MB / 512sec
- 56KB Modem schafft max 4,2kb/sec -> 1MB/244sec -> 4MB / 976sec
Somit w�re dort eine Zeitbegrenzung von circa 1200sec sinnvoll - wenn man nur 4MB
will! Wenn das noch mehr werden sollten - dann mu� zwangsl�ufig auch die Excecution
TimeOut hoch!
Nun mein Problem - ich w�rde das ungern f�r die Komplette Seite hoch nehmen! Gibt es
da nen sinnvollen Ansatz? Hat wer vielleicht schon sowas gemacht?
Danke im Vorraus
Andreas
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net