My sessions variables are not sticking on a Windows IIS server.
I use
and
output: empty session variable
PHP.INI Settings
Any ideas?
I use
Code:
session_start();
$_SESSION['blah'] = "no longer empty";
Code:
if(empty($_SESSION['blah'])){
echo "empty session variable";
} else {
echo $_SESSION['blah'];
}
output: empty session variable
PHP.INI Settings
Code:
session.save_handler = files
session.save_path = "P:\PHP\Sessions
session.use_cookies = 1
session.name = MY_SESSION_ID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
;session.save_path = "/tmp"
Any ideas?