PHPverse 2025

Voting

: nine plus zero?
(Example: nine)

The Note You're Voting On

Fernando Gabrieli fgabrieli at gmail
18 years ago
<?
session_cache_limiter ('private, must-revalidate');

$cache_limiter = session_cache_limiter();

//

session_cache_expire(60); // in minutes

session_start() ;
?>

If i do not set must-revalidate, IE seems to cache session variables without refreshing them

If i post a form then it refreshes the variables

Firefox does not have this problem

So, be sure to use must-revalidate

<< Back to user notes page

To Top