Web Hosting Talk







View Full Version : session_cache_expire() problems


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?

Gamenati
05-12-2003, 01:04 PM
anyone?

FW-Mike
05-13-2003, 05:18 PM
Check the link I sent you, I'd say its the way it was installed/configed