anyone know what the code is in PHP to force the server to reload a page on each visit instead of having the browser cache it?
basically i need to check if a cookie was set on a page when i go back to it using the browser's back button, but since the browser is caching the page, it doesn't know about the cookie until i manually refresh the page.
i know how to do it in ASP, but for some reason doing somthing similar in PHP with header("Cache-control: no-cache"), doesn't seem to be working?
BTW this is PHP on an IIS server.
basically i need to check if a cookie was set on a page when i go back to it using the browser's back button, but since the browser is caching the page, it doesn't know about the cookie until i manually refresh the page.
i know how to do it in ASP, but for some reason doing somthing similar in PHP with header("Cache-control: no-cache"), doesn't seem to be working?
BTW this is PHP on an IIS server.