View Single Post
  #10  
Old 01-15-2013, 02:02 AM
Monarobase Monarobase is offline
Senior Member
 
Join Date: Jan 2013
Posts: 114
+1 the scripts would be quite simple :
On user 1 :
PHP Code:
<?php
xcache_set
("mona_test150112"'This data was set by user 1'120);
print(
'mona_test15112 was set by user 1 for 120 seconds');
?>
On user 2
PHP Code:
<?php
if (xcache_isset("mona_test150112"))
{
    print 
xcache_get("mona_test150112");
}
else
{
   print (
'mona_test150112 is not set.');
}
?>
I haven't tested them as I don't have xcache yet
Reply With Quote