php - Domain-wide cookies not saving in Chrome for .uk Second Level Domain -
google chrome doesn't seem saving domain-wide session cookie.
my server sending next headers out:
http/1.1 200 ok date: thu, 26 jun 2014 19:42:48 gmt server: apache set-cookie: authid=a0dbc62667968c7d3c47dd80068a8b76; path=/; domain=.aerox.uk expires: thu, 19 nov 1981 08:52:00 gmt cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: no-cache content-length: 109 keep-alive: timeout=10, max=50 connection: keep-alive content-type: text/html
but on subsequent requests cookie not beingness sent out. if seek same page in net explorer works fine. if alter domain-wide cookie sub-domain specific 1 works fine.
if click on page icon in address bar , @ cookies set domain shows none in either allowed or blocked lists.
here of cookie config.
in .htaccess
:
# php settings php_value session.cookie_domain ".aerox.uk" php_value session.name "authid" #php_flag session.auto_start 1 php_value auto_prepend_file "../auto_header.php"
in auto_header.php
:
<?php session_name('authid'); session_set_cookie_params(0,'/','.aerox.uk'); session_start(); ?>
after testing few different versions , releases of google chrome seems issue how releases prior 36 treat .uk sec level domains (sld).
i've searched through alter logs , found versions prior version 36 utilize old version of public suffix list.
this alter fixes chrome allow .uk domains work correctly
php apache google-chrome cookies session-cookies
No comments:
Post a Comment