Re: HTTP Headers change using Authentication Module (Auth.php)
| From: | Adam Harvey | Date: | Fri, 12 Jan 2007 00:15:12 +0000 |
| Subject: | Re: HTTP Headers change using Authentication Module (Auth.php) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45477@lists.php.net to get a copy of this message | ||
Quoting Milo <search.lists@gmail.com>:
I am baffled as to why my http headers change when I use Auth.php. Any ideas or help as to what is causing no cache headers to get generated? Is in Auth.php or some other place? I couldn't find anything in Auth.php when grepping for 'cache' but don't know where else to look. <snip>
Any help is much appreciated!It's because Auth starts a session to keep track of the login details, which adds the headers you're looking at. As proof, compare the output of a blank PHP file to one with <?php session_start(); ?> in it. Adam