Strange Timeout
| From: | Odd Egil H. Selnes | Date: | Fri, 30 Jul 2004 13:01:24 +0000 |
| Subject: | Strange Timeout | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24288@lists.php.net to get a copy of this message | ||
Hi!
I usually work with Apache webserver
but now Im working with a php project that uses ms sql server 2000
This webserver is running IIS6 and I get som strange errors.
As i said earlier i get a strange CGI error when I use the header("Location:
".$_SERVER["PHP_SELF"]."?page=something");
I just upgraded to php 4.3.8 and that problem seems to have been solved. But
now I have encountered another strange one.
On some of my pages i insert alot of data into the sql server, and if that
is successful I send the user to another page.
But this times out...
all the data goes into the database without any problems, but as soon as the
script reaches the header(); it dies...
and after a while i get a execution timeout error. I know that its not the
sql queries who kills the server, becouse if i Replace the header with i.e
print("IT ALL WENT WELL! "); it prints and all data gets stored.
Have anyone else encountered this problem? or do anyone have a clue about
what to do ?
.odde
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 29.07.2004