Jump to content

Recommended Posts

This is incorrect:

If you're talking about a page reload, than no. You would have to use javascript.

 

header("Refresh:5; index.php");  //refresh to new location after 5 seconds, or current location
header("Location: index.php");  //go instantly to new page without loading the current page

Link to comment
https://forums.phpfreaks.com/topic/59168-solved-force-reload/#findComment-293897
Share on other sites

If you mean you don't want the browser to use a cached page, you can put a pragma: no-cache meta tag in your HTML, or use HTTP headers.

 

Google "cache-control" and "pragma no cache" for more information.

 

And see these:

 

http://www.mnot.net/cache_docs/

http://www.htmlgoodies.com/beyond/reference/article.php/3472881

[see Section 14.9] http://www.faqs.org/rfcs/rfc2616

Link to comment
https://forums.phpfreaks.com/topic/59168-solved-force-reload/#findComment-293949
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.