Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Persistent HTTP connections

Status
Not open for further replies.

oppcos

Programmer
Dec 1, 2004
209
US
Hi,
I'm running IIS 6 and have persistent HTTP connections turned on as the default. All page requests to the server do persist just fine except for PHP ones. I've turned output buffering on in PHP.ini in case that had anything to do with it, but so far no effect. Any other ideas on what I can try?
Thanks
 
What do persistent connections do for one under IIS 6?

Would I be correct to assume you are running PHP under IIS6? Are you running PHP as a CGI or as an ISAPI filter?



Want the best answers? Ask the best questions! TANSTAAFL!
 
PHP 5 as ISAPI DLL (seems to be working just fine otherwise).
Primarily it improves performance for people making lots of requests to the server in a row. It just keeps the TCP session alive instead of closing it, so no caches or anything are involved.

When the client requests Connection: keep-alive in the HTTP header it makes no difference, if it is a PHP file, the connection is closed. [ponder]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top