hi guys,
i was wondering how you deal with script timeouts caused by huge file
uploads. Lets say I have a script timeout of 2 minutes and the user
uploads a file which takes more than this ...
Whats the best way to inform the user about this issue rather than
throwing the script timeout error.
What approaches do you use for this.... 8 3521
michal wrote:
hi guys,
i was wondering how you deal with script timeouts caused by huge file
uploads. Lets say I have a script timeout of 2 minutes and the user
uploads a file which takes more than this ...
Whats the best way to inform the user about this issue rather than
throwing the script timeout error.
What approaches do you use for this....
Ummmm ... increase the script timeout on the page that does the upload?
Search www.aspfaq.com for "timeout"
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
ya i know that i could increase the script timeout but this seems not
a solution to me. because if i increase it to lets say 20 minutes and
then someone comes with an even bigger file (or slow connection) which
takes longer to upload then i have the same problem. and i am thrown
back to the start in increasing it again and again ...
i checkd aspfaq but they have no approaches for this problem.
do you have any other ideas?
Q - I have to drive my car 100 miles, but I keep running out of gas because
I only keep up to 3 gallons of gas in my car, which gets 20 mpg. What can I
do?
A - Put 5 gallons of gas in your car.
Q - That won't work. What if I have to drive 120 miles some other time, or
140 miles? I'd have to keep putting more gas in the car.
A - Sell your car and ride the bus.
Bob Lehmann
"michal" <mg****@gmail.c omwrote in message
news:11******** ************@l7 7g2000hsb.googl egroups.com...
ya i know that i could increase the script timeout but this seems not
a solution to me. because if i increase it to lets say 20 minutes and
then someone comes with an even bigger file (or slow connection) which
takes longer to upload then i have the same problem. and i am thrown
back to the start in increasing it again and again ...
i checkd aspfaq but they have no approaches for this problem.
do you have any other ideas?
:)
so i am gonna buy a bus, just tell me where i can get one for my
problem ;)
"michal" <mg****@gmail.c omwrote in message
news:11******** **************@ r56g2000hsd.goo glegroups.com.. .
hi guys,
i was wondering how you deal with script timeouts caused by huge file
uploads. Lets say I have a script timeout of 2 minutes and the user
uploads a file which takes more than this ...
Whats the best way to inform the user about this issue rather than
throwing the script timeout error.
What approaches do you use for this....
What's the maximum amount of time you are willing to put up with a user
trying to upload a file into your asp page?
Set your script timeout to that.
yeah i know i can do this... so there is no real approach to tell the
user about the error?
oh i think i could catch all errors and check if the timeout error
happend. if this is the case i show a user friendly message...
On Mar 30, 1:36 pm, "Anthony Jones" <A...@yadayaday ada.comwrote:
"michal" <mga...@gmail.c omwrote in message
news:11******** **************@ r56g2000hsd.goo glegroups.com.. .
hi guys,
i was wondering how you deal with script timeouts caused by huge file
uploads. Lets say I have a script timeout of 2 minutes and the user
uploads a file which takes more than this ...
Whats the best way to inform the user about this issue rather than
throwing the script timeout error.
What approaches do you use for this....
What's the maximum amount of time you are willing to put up with a user
trying to upload a file into your asp page?
Set your script timeout to that.
"michal" <mg****@gmail.c omwrote in message
news:11******** **************@ p15g2000hsd.goo glegroups.com.. .
yeah i know i can do this... so there is no real approach to tell the
user about the error?
oh i think i could catch all errors and check if the timeout error
happend. if this is the case i show a user friendly message...
Do you mean a custom 500.100 error page?
no i dont really need it because i should be able to do it with
on error resume next... have to try it the next time @ work.
On Mar 31, 9:46 pm, "Anthony Jones" <A...@yadayaday ada.comwrote:
"michal" <mga...@gmail.c omwrote in message
news:11******** **************@ p15g2000hsd.goo glegroups.com.. .
yeah i know i can do this... so there is no real approach to tell the
user about the error?
oh i think i could catch all errors and check if the timeout error
happend. if this is the case i show a user friendly message...
Do you mean a custom 500.100 error page?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Silver |
last post by:
I have a perl script running on machine A, a web server. A visitor
completes certain pieces of data and these are compiled into two emails, one
addressed to the visitor and copied to the site owner, the other addressed
to the webmaster and including cookie and timing data for debugging.
The email is sent by machine B which is the email server for the domain.
Here are some config values for the perl script, names have been changed to...
|
by: Mathieu Blais |
last post by:
Hi,
I need to capture the Script timeout error if that is possible. I know I can
increase the timeout value in the server settings or in the scripts itself
but I really want to make sure that no timeout situation will results as the
standard script timeout error page.
Can we do this ??
Help please.
|
by: Randy Weber |
last post by:
I occasionally am getting a script timeout while using an ASP database
connection. Everything I read suggests that I can change the
Server.ScriptTimeout to address this, but I was unable to find out
what the limit is for this setting.
I asked my ISP who is hosting my web site if they have know the limit
and if they have a limit of their own. They replied that the limit is
90 seconds and that it cannot be overridden.
Is my ISP's...
|
by: SPD |
last post by:
I've been researching this issue with little luck. Here's the situation:
We have a few users on slow dialup connections who are posting data from
forms. Frequently, they get script timeout errors. We've gotten timeouts
from users with faster connections as well, so I suspected that the overall
load is overtaxing the server. But it does seem to be more frequent with
dialup users posting relatively large (>10K) worth of data from forms....
|
by: Patrick |
last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can
1) Either set under IIS Manager-> Any specific Virtual Directory->
Configuration->Options->ASP Script timeout for all pages within that
directory OR
2) Within a specific page, set the timeout as per
http://www.microsoft.com/windows2000/en/server/iis/default.asp?url=/windows2000/en/server/iis/htm/asp/vbob246s.htm
e.g. <% Server.ScriptTimeout = 1 %>
and that the value in...
| |
by: www.MessageMazes.com |
last post by:
I sometimes get this error after about 60 seconds of "waiting for
mazes.com" (but when the page works, it usually loads in less than 12
seconds).
> Active Server Pages error 'ASP 0113'
> Script timed out
> /asp-maze/amazingtest.asp
> The maximum amount of time for a script to execute was exceeded. You can
> change this limit by specifying a new value for the property Server.ScriptTimeout
> or by changing the value in the IIS...
|
by: Frederic Wenzel |
last post by:
I wrote a script on Linux that uses pyserial to read status messages
from a serial line using readlines(). For now, it just displays what
it gets on stdout:
17:42 | 0005 | 02 | | 5 |Rack Abs.| - | --210
17:42 | 0008 | 02 | | 5 |Rack Abs.| - | --210
17:42 | 0001 | 02 | | 5 |Rack Abs.| - | --210
17:43 | 0008 | 02 | | 5 |Rack Abs.| - | --210
17:43 | 0001 | 02 | | 5 |Rack Abs.| - | --210
17:43 | 0005 | 02 | | 5 ...
|
by: Mikhail Kovalev |
last post by:
Fatal error: Maximum execution time of 3600 seconds exceeded in z:\home
\localhost\www\somefile.php on line 138
php.ini setting fixes default max execution time at 30 sec,
In the script itself I have set_time_limit(0);
I have also tried set_time_limit(90000); with no luck.
Checked if php was running in safe mode, and it wasn't.
Are there any other reasons that can cause this behavior?
|
by: This |
last post by:
I have a pretty basic emailing script that sends a relatively small number
(150) of html emails.
The emails are compiled, personalised from a mysql db subscribers list,
and sent using mail() - after sending, a small summary html page is sent to
the user with number sent, time taken and a simple navigation choice. Up to
about 100 emails it all works fine - this takes the server about 27 secs .
Any more than that and although the emails are...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |