Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 10-30-2008, 07:23 AM Firefox Caching page
lothop's Avatar
Ultra Talker

Posts: 303
Trades: 0
Hey,

Firefox Caching page.
After updating a database entry, it then redirects people back index.php where it displays the now updated information.
PHP Code:
header("Location: index.php"); 
But I think Firefox caches index.php so it displays the un-updated entry. After a page refresh it then displays the updated result.

Is there a way to make firefox display the updated result as soon as the person is directed back to index.php?
__________________
Websites Created;
warscope.com
ratepayers.org.nz
lothop is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-30-2008, 08:11 AM Re: Firefox Caching page
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 932
Trades: 7
try this...

PHP Code:
$rand rand(1000,9999);
header("Location: index.php" "?=" $rand); 
all the best,
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Sir P is offline
Reply With Quote
View Public Profile Visit Sir P's homepage!
 
Old 10-30-2008, 07:23 PM Re: Firefox Caching page
lothop's Avatar
Ultra Talker

Posts: 303
Trades: 0
Quote:
Originally Posted by Sir P View Post
try this...

PHP Code:
$rand rand(1000,9999);
header("Location: index.php" "?=" $rand); 
all the best,
Wow cool, you've helped me twice in 1 day
Thanks heaps, it works perfectly!
So much smoother to navigate and change entries etc now

Added to you again
__________________
Websites Created;
warscope.com
ratepayers.org.nz
lothop is offline
Reply With Quote
View Public Profile
 
Old 10-31-2008, 03:27 AM Re: Firefox Caching page
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 932
Trades: 7
ha ha no worries, good stuff
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Sir P is offline
Reply With Quote
View Public Profile Visit Sir P's homepage!
 
Reply     « Reply to Firefox Caching page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13634 seconds with 12 queries