|
Posted by bvdb on 12/16/53 11:58
Hello,
my web-application uses two frames, one with a list of database
records, one with a record detail view. From the detail view there is
"mark" function that will mark the respective record in the list frame
(with a special color).
Now this mark function is meant to toggle the mark status in the list
frame, i.e. switch it on with the first click and off with the second.
Problem is, the marking works, but the second click will not have any
effect. Only when I click on another link in the list frame and _then_
click "mark" again will the marking be switched off.
I assume this is due to the browser caching the request, and when it
gets two times the same request (i.e. "list_records.php?marknode=42"),
just ignores the second one. All no-cache parameters are already set in
the headers, like:
header("Cache-Control: no-store, no-cache, must-revalidate");
(as described in the PHP manual), but this doesn't seem to work.
Or maybe the described behaviour is based on something else?
Thanks for hints!
[Back to original message]
|