To confirm whether you have session problems, try creating a sessions.php file with the following code:
Code:
<?php
session_start();
if(isset($_SESSION['views']))
$_SESSION['views'] = $_SESSION['views']+ 1;
else {
$_SESSION['views'] = 1;
}
if( $_SESSION['views'] > 1)
echo "Sessions are enabled";
else
echo "Sessions are disabled"
?>
Upload the file to your site and navigate to it in your browser and see what the file says. If it gives a number, and that number goes up every time you refresh the page, caching is fine. If it says "Sessions are disabled" then you need to contact your webhost.
Bookmarks