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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cwible at cwible dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-27 05:37 UTC] sas@php.net
Try reading the documentation.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 12:00:01 2026 UTC