Reputation: 23
I have the trouble with session id in IE (our project supports 9+). Everytime I reload the page, the session id changes. In other browsers everything is ok.
session_start() calls in index.php (it is the single entry point for all requests) and there no error messages on server-size or client-side. The PHPSESSID cookie creates.
Apache 2.2
PHP 5.4.25
There are php.ini configurations for sessions:
session.save_handler = files
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = On
session.bug_compat_warn = On
session.referer_check =
session.cache_limiter = nocache
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
Maybe someone faced with the same problem, because I googled all day and didn't find any solution.
Upvotes: 2
Views: 1301
Reputation: 5010
I've come across this several times recently. The answer in all of my cases has been that the subdomain or domain contains an '_' character - IE seems to throw up because of this. I think the cookie was still showing up, but it was being recreated each time.
Upvotes: 1