Closed
Bug 325751
Opened 20 years ago
Closed 20 years ago
Dynamic image php script being run twice when image is viewed once
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 304574
People
(Reporter: stuart, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
I have a php script which outputs an image to the screen. Every time the script is run the database gets update with 1 more view.
However, viewing the image once updates the database twice which makes me think the image is being loaded twice for every view.
This is not a problem in IE, the image is displayed and the database gets updated once
Reproducible: Always
Steps to Reproduce:
1. View an image
Actual Results:
The database gets updated twice (the script must have been run twice by FX)
Expected Results:
Run the script once
Comment 1•20 years ago
|
||
Looks like this one: Bug 310951 -> -> Bug 106912.
| Reporter | ||
Comment 2•20 years ago
|
||
The first (310951) it seems is to do with css, which my script is not using.
The second (106912) is an empty href attribute on an anchor tag. This is not the same as what I'm experiencing
Comment 3•20 years ago
|
||
This is most likely to be bug 304574 since php scripts are usually set to be not-cacheable. Reporter if you disagree then please feel free to reopen.
*** This bug has been marked as a duplicate of 304574 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 4•20 years ago
|
||
Yes this is the same problem. So there is no work around for this?
This is quite an irritating bug, especially when developing dynamic websites.
If any developers are reading this, PLEASE take a look at fixing it. I'd rather not have the preview image in the url bar at all, what good is it anyway?
You need to log in
before you can comment on or make changes to this bug.
Description
•