php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7357 Cache Headers Added
Submitted: 2000-10-19 19:30 UTC Modified: 2000-10-27 05:37 UTC
From: cwible at cwible dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.3pl1 OS: RedHat 6.0
Private report: No CVE-ID: None
 [2000-10-19 19:30 UTC] cwible at cwible dot com
The 4.x releases of PHP add Last-Modified, Pragma, Cache-Control, and Expires headers to the data sent back to the browser.

This is not documented anywyere, and furthermore overrides the default caching setup of a web server. With no function to remove headers, you simply have to change the source, or overwrite all of the headers - which doesn't work in all browsers anyway.

I'm not quite sure why this was done - and don't really like it - since session is either on or off for the entire server.

Perhaps there is a better way to acheive this?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-27 05:37 UTC] sas@php.net
Try reading the documentation.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC