Hi!
When executing this code in a new browser window:
<?php
session_start();
echo $PHPSESSID;
echo $_SESSION['dummy'].'-';
$_SESSION['dummy'] = 'Hello';
echo $_SESSION['dummy'];
?>
i get this error:
Notice: Undefined variable: PHPSESSID in c:\programme\apache group\apache\htdocs\test.php on line 5
Notice: Undefined index: userHierarchy in c:\programme\apache group\apache\htdocs\test.php on line 8
-Hello
when i hit F5, the error changes to this:
Notice: Undefined variable: PHPSESSID in c:\programme\apache group\apache\htdocs\test.php on line 5
Hello-Hello
So it seems that session handling works, but he doesnt recognize PHPSESSID.
My Session settings should be OK:
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
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_divisor 100 100
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 C:\PHP\sessiondata C:\PHP\sessiondata
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
Soo... what could i do?
Thanks,
Cheers,
Jochen