Re: [PHP] Header Keep-Alive

[email protected] (Sebastian Krebs)
Newsgroups php.general
Message-ID <CALtuQzBPL5B9yA46sxjs+-fuqme+H39XW4HDXfcrm3xkmt8MNg@mail.gmail.com>
2013/5/27 Al <[email protected]>

> I'm trying to increase the connection timeout; but can't get it to work.
> Note: Keep-Alive gets repeated.
>
> I'm using:
> header("Connection: Keep-Alive");
> header("Keep-Alive: timeout=9, max=100");
>

Set the second optional argument to "true"
See http://de.php.net/manual/en/function.header.php


>
>
> I get:
> (Status-Line)   HTTP/1.1 200 OK
> Date    Mon, 27 May 2013 20:19:54 GMT
> Server  Apache
> Connection      Keep-Alive, Keep-Alive
> Keep-Alive      timeout=5, max=100
> Expires Thu, 19 Nov 1981 08:52:00 GMT
> Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
> pre-check=0
> Pragma  no-cache
> Content-Encoding        gzip
> Vary    Accept-Encoding,User-Agent
> Set-Cookie      Coach::VermontCamp2013_**setupMode=**
> 58d7e534bec4ec57634c78caa59d8d**b2; expires=Sat, 23-Nov-2013 20:19:55
> GMT; path=/Coach/; domain=.ridersite.org
> Transfer-Encoding       chunked
> Content-Type    text/html; charset=utf-8
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
github.com/KingCrunch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.