-
Cache not cleared
Hi,
I have a problem using:
ob_start();
include "http://b2b.hotelclub.net/common/ImageGallery/HotelImageGallery.asp?hid=$AgentPropertyId";
$s2 = ob_get_contents();
ob_end_clean();
ob_end_flush();
$s1 = substr($s2,350,110);
Then I use the $s1 value to update another database!
I change the value $AgentPropertyId by looping through a table.
The code works for x number of executions, but then stops working presumably because Cache is full!
I have tried adding:
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
Then I have to wait often 30 minutes before it works again!!
The reason for this script is to pick up dynamically created picture id's for pictures, related to hotels (15600+ hotels).
Can anyone help?
Thanks
Barry
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks