I've written a simple session example and waste 3 hours to understand why it is NOT work!
<?php
session_start();
session_register("count");
$count=@$count+1;
echo $count . " session_id:" . session_id();
?>
It returns the same session id, but it didn't make changes in $count.
Server options are
session.auto_start Off Off
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
I think that this is something very simple but I can't get it by myself. Help! :-)