Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
04-26-2013, 11:00 PM #1
Will using ajax prevent server timeout
I have a ajax call on one of my pages, was wondering if the process im running on the page takes a bit, will including an ajax call prevent the process from timing out.
So lets say I call a elapsed timer routine using ajax, my thinking is that since the content data is being refreshed due to the elapsed time feed, that would prevent the page from timing out because the page still has activity.
or am I dead wrong on that?
04-26-2013, 11:04 PM #2
- Join Date
- Sep 2005
- Sydney, Australia
- Thanked 662 Times in 651 Posts
It would depend on how the process that you want to prevent from timing out is being run and how the ajax call is set up to interact with it.
04-26-2013, 11:21 PM #3
Its an upload video process and 150mb works fine but if I go to 170mb max vid size, it seems to be just a bit too long for my upload speed and the server times out.
So I was thinking if I added a elapse timer via ajax then it would last long enough to get the larger vid uploaded before the upload to the server timed out.
This all came about because my customers want to upload larger vids and I managed to comfort them by saying I would add 20mb more.
04-26-2013, 11:27 PM #4
- Join Date
- Jun 2007
- Thanked 602 Times in 582 Posts
04-26-2013, 11:44 PM #5
OK thanks a bunch