View Single Post
  #11  
Old 15th January 2013, 04:38
ndbj ndbj is offline
Senior Member
 
Join Date: Dec 2012
Portugal
Posts: 35
Default
Quote:
Originally Posted by sharpie View Post
added m8 but still shows new tags after i refresh page:(
Open your browse.class.php in a different browser.
If your using I.E., try with mozilla.
then, tell me if the new tag is gone or if it's still there.

maybe you'll have to put this at the beggining of your php file:
<meta http-equiv="expires" value="0" />
<meta http-equiv="cache-control" content="no-cache" />
or this, don't really know how it works ajax
<META HTTP-EQUIV="Expires" CONTENT="-1">
<meta http-equiv="cache-control" content="no-cache" />




Bump: oh, and put this at the end of your browse.php
right before the stdfoot, not in the browse.class.php

PHP Code:
mysql_query("UPDATE users SET last_browse=".gmtime()." where id=".$CURUSER['id']);



Last edited by ndbj; 15th January 2013 at 04:58.
Reply With Quote