|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 78 Joined: 25-April 05 Member No.: 6,158 |
Post
#1
Apr 29 2005, 05:14 PM
This may or may not be PHP related; I am THAT much of a newbie. It seems like I need to force my browser to NOT use a cahced view of pages I create using PHP. Is there any way I can make it sound refresh every time the page is loaded? |
![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 96 Joined: 20-April 05 Member No.: 5,931 |
Post
#2
Apr 29 2005, 06:23 PM
i dont quite sure what u mean, but you can try ctrl+f5. that hot key does the refresh page job in internet explorer.
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 270 Joined: 11-April 05 From: 10 inches from the computer screen Member No.: 5,518 |
Post
#3
Apr 29 2005, 07:43 PM
If you're using IE Go to Tools > Internet Options. Under the General tab (which should be the first tab you see), there is a section called Temporary Internet Files, with the description Pages you view on the Internet are stored in a special folder for quick viewing later. Right under that there are three buttons. Delete Cookies, Delete Files and Settings. Click on Settings. A dialog box will pop up which says Check for newer versions of stored pages: Select Every visit to the page (the first option). Click OK for this dialog box, and Apply for the Internet Options window. All set. If you're using Firefox Go to Tools > Options. Under the Privacy tab (which is denoted by a yellow lock icon on the left sidebar), there is a list of options for which you can change the privacy settings. The last option in this list says Cache. Click on the little + icon. Where it says Use up to: [ box ] KB of disk space for the cache, change the number in the box to 0 (default is 50000 KB). Click OK. All set. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 436 Joined: 21-January 05 From: Koronadal City, Philippines Member No.: 3,358 |
Post
#4
Apr 29 2005, 11:02 PM
I don't know if this is related but I'M LOOKING FOR A CODE THAT AUTOREFRESHES THE PAGE EVERY 2 MINUTES. I've created a thread for this last week but no one seemed to understand it. Does anyone know how? |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 117 Joined: 3-May 05 From: A Canadian South of the 49th Parallel Member No.: 6,544 |
Post
#5
May 3 2005, 05:17 PM
You could use a META tag for that effect, it is part of the HTML standard so it is client-side code, and nearly all browsers recognize it.. It is not PHP related.. An example of the tag you need: Example filename = index.html CODE <html> <head> <meta http-equiv="Refresh" content="120;URL=index.html"> </head> <body> blah blah blah.. </body> </html> That should work! |
![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 78 Joined: 25-April 05 Member No.: 6,158 |
Post
#6
May 6 2005, 05:18 AM
Thanks SystemWisdom. Can you please explain what the code will actually do? |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 523 Joined: 6-March 05 Member No.: 4,187 |
Post
#7
May 7 2005, 06:19 PM
I tried a refresh code and it always took me from one page to the page I wanted to refresh. So I took it out and never used it again. Some times they don't work the way you want em to. And sometimes you just need to put it in the right file which I will not do. I don't wanna screw something up.
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 113 Joined: 14-January 05 From: Philippines Member No.: 3,271 |
Post
#8
May 9 2005, 08:06 AM
i think you are referring to your pages being cached by browsers rather than literally refreshing the page. add this to evry page to prevent browsers from cahing your php pages. CODE header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); or CODE header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 5,876 Joined: 21-September 07 Member No.: 50,369 |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 5,876 Joined: 21-September 07 Member No.: 50,369 |
Post
#10
Oct 24 2008, 08:49 AM
Replying to dodgerblue wow your the man... So so simple yet took me years to finaly look to fix this problem... Thanx this site rox the sox -reply by 1Rando |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
0 | PhraX | 2,897 | 26th October 2004 - 12:48 PM Last post by: PhraX |
|||
![]() |
12 | Zagubadu· | 275 | 17th February 2010 - 06:49 PM Last post by: Zagubadu· |
|||
![]() |
3 | dark | 5,710 | 25th February 2005 - 11:58 PM Last post by: Angelkiller |
|||
![]() |
2 | -drummer- | 1,688 | 18th January 2005 - 02:12 AM Last post by: -echo5- |
|||
![]() |
0 | -welbis- | 1,445 | 19th January 2005 - 01:49 PM Last post by: -welbis- |
|||
![]() |
11 | -leathalbeast- | 2,248 | 13th March 2005 - 11:08 PM Last post by: -flipster- |
|||
![]() |
0 | vietonline | 1,344 | 23rd July 2006 - 01:55 PM Last post by: vietonline |
|||
![]() |
7 | kvarnerexpress | 9,089 | 24th December 2008 - 10:51 AM Last post by: iG-gautam |
|||
![]() |
11 | kvarnerexpress | 2,194 | 31st January 2010 - 11:24 PM Last post by: iG- |
|||
![]() |
4 | kvarnerexpress | 1,364 | 10th May 2005 - 08:15 AM Last post by: azka |
|||
![]() |
2 | Klass | 2,921 | 16th June 2005 - 06:20 PM Last post by: rvalkass |
|||
![]() |
11 | Tseng | 2,076 | 17th August 2005 - 05:57 AM Last post by: Brionne |
|||
![]() |
13 | moldboy | 5,647 | 5th September 2009 - 07:37 AM Last post by: iG-David |
|||
![]() |
0 | Zychez | 3,658 | 7th October 2005 - 07:30 AM Last post by: Zychez |
|||
![]() |
18 | kakingho | 5,706 | 22nd November 2009 - 10:29 AM Last post by: phatuis |
|||
|
Open Discussion | Time is now: 11th March 2010 - 04:03 PM |
Web Hosting Powered by ComputingHost.com.
Xisto.com : HONESTY ROCKS! truth rules.