Gamenati
05-11-2003, 08:39 PM
hey,
when i try to use session_cache_expire() i get this error:
"
Fatal error: Call to undefined function: session_cache_expire() in c:\apache\htdocs\test.php on line 9
"
here is the code:
<?php
/* set the cache limiter to 'private' */
session_cache_limiter('private');
$cache_limiter = session_cache_limiter();
/* set the cache expire to 30 minutes */
session_cache_expire (30);
$cache_expire = session_cache_expire();
/* start the session */
session_start();
echo "The cache limiter is now set to $cache_limiter</ br>";
echo "The cached session pages expire after $cache_expire minutes";
?>
anyone know whats going on?
when i try to use session_cache_expire() i get this error:
"
Fatal error: Call to undefined function: session_cache_expire() in c:\apache\htdocs\test.php on line 9
"
here is the code:
<?php
/* set the cache limiter to 'private' */
session_cache_limiter('private');
$cache_limiter = session_cache_limiter();
/* set the cache expire to 30 minutes */
session_cache_expire (30);
$cache_expire = session_cache_expire();
/* start the session */
session_start();
echo "The cache limiter is now set to $cache_limiter</ br>";
echo "The cached session pages expire after $cache_expire minutes";
?>
anyone know whats going on?
