leegold2 wrote:
[color=blue]
> I know php is server side scripting, but say a page is rendered by php
> were A = 1. Now, I want when the user clicks the back button on the
> browser and sees the page again...I want A to show as 2. Is this
> possible?[/color]
It is possible, depending on the configuration of the
browser and the expiration time of the resource, but not
what should happen. Even if the resource has expired, the
history should show what the user was presented with before;
in the words of HTTP/1.1 the history mechanism should not
show a 'semantically transparent view of the current state
of a resource', but rather 'exactly what the user saw at the
time when the resource was retrieved' (sec. 13.13).
You've misunderstood the situation: this isn't a cache
question but a history mechanism question. (Subject line
changed accordingly.)
HAGW!
--
Jock
[color=blue]
> I know php is server side scripting, but say a page is rendered by php
> were A = 1. Now, I want when the user clicks the back button on the
> browser and sees the page again...I want A to show as 2. Is this
> possible?[/color]
It is possible, depending on the configuration of the
browser and the expiration time of the resource, but not
what should happen. Even if the resource has expired, the
history should show what the user was presented with before;
in the words of HTTP/1.1 the history mechanism should not
show a 'semantically transparent view of the current state
of a resource', but rather 'exactly what the user saw at the
time when the resource was retrieved' (sec. 13.13).
You've misunderstood the situation: this isn't a cache
question but a history mechanism question. (Subject line
changed accordingly.)
HAGW!
--
Jock