sybase_query return

From: Date: Fri, 07 Dec 2001 10:20:18 +0000
Subject: sybase_query return
Groups: php.general 
Request: Send a blank email to php-general+get-77013@lists.php.net to get a copy of this message
Hi, I have a problem. I am using sybase_query to update a statistics table, and then reset an external cache server. These operations come one after another in the script. The ideea is that the new thing will be cached again the next time it's called, but the cache beeing reset will force it to be the newest thing. The problem that I am facing is when I put it into a big traffic site. Then it looks like the cached image is an older one. No ideea why. I am assuming that sybase_query returns before finishing the query execution!? And then the cache gets reset but beeing constantly called it takes still the old thing from the database? Any ideeas? I would appreciate! Calin

« previous php.general (#77013) next »