SMF 2.0; Request another image on registration

Started by [darksteel], March 20, 2008, 02:54:58 PM

Previous topic - Next topic

[darksteel]

On registration, the request another image does not work. it send to this link:
index.php?action=register#


and the image does not change,

darksteel-



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

SleePy

[darksteel],
If you view the image url itself and refresh, does it change?

A beta tester reported this, but some browsers are actually caching the image when they shouldn't be. So it might be the issue here.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

[darksteel]

Quote from: SleePy on March 20, 2008, 03:49:02 PM
[darksteel],
If you view the image url itself and refresh, does it change?

A beta tester reported this, but some browsers are actually caching the image when they shouldn't be. So it might be the issue here.

Sleepy,

I refresh the page but it show the same image.

darksteel-



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

karlbenson

#3
The change I suggested was to send nocache headers.

You could try this and see if it makes any difference (and the results of which could possibly be of use to developers)

Open Sources/Subs-Graphics.php

FIND (around line 883)
// Show the image.
if (function_exists('imagegif'))


ADD BEFORE
// Headers - don't cache this
header("Cache-Control: no-cache");
header("Pragma: nocache");

Advertisement: