Answer the question
In order to leave comments, you need to log in
Sub domain sessions via ajax requests?
So I started to analyze this topic, I found an interesting problem:
I set the parameters in .htacess
php_value session.cookie_domain .portal.my<br/>
<IfModule mod_headers.c><br/>
Header set Access-Control-Allow-Origin "*"<br/>
</IfModule >
session_set_cookie_params(60*60*24*14,'/','.portal.my');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question