Forum Moderators: coopster
Now I started on a section where I use Sessions. The problem is, the session cookie is not created!
I set all options as needed in php.ini (domain=false ..), and even tried:
session_set_cookie_params(0, '/', false, 0, 1);
print_r( session_get_cookie_params() );
Array ( [lifetime] => 0 [path] => / [domain] => [secure] => [httponly] => 1 )
If I change domain to '', instead of false, Firefox accepts the cookie but not IE.
It's not that big if deal, I use Firefox for testing anyway, I'm sure this will work fine once the site is uploaded onto a real server. But still, any suggestions?
session.use_cookies = 1
;session.cookie_secure =
session.use_only_cookies = 1
session.name = PHPSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain = ""
;session.cookie_httponly = 1
session.serialize_handler = php
Getting a little frustrated.. I just need to test sessions locally...