note 50916 deleted from ref.image by tularis

From: Date: Sun, 29 Jun 2008 21:09:02 +0000
Subject: note 50916 deleted from ref.image by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140954@lists.php.net to get a copy of this message
Note Submitter: KaHa6uc at abv dot bg ---- When generating an image (my case was a counter, and I needed to load it every time), some browsers, Opera was this particular case, received the "HTTP/1.1 301 Not Modified" header, so it skipped loading it and took it from the cache. The best workaround for this was to use header("HTTP/1.1 202 Accepted"); before sending the image as a direct output: header("HTTP/1.1 202 Accepted"); header("Content-type: image/gif"); Thus the image is now loaded every time ;) --------------------------------------------------- Division from within invalidates suffering

« previous php.notes (#140954) next »