-
Change Cookie Domain
How can i change my cookie domain from the top level domain to a sub-domain.
Example: cookie for top level domain -> domain.com <- covers all sub-domains.
I only want cookie to cover -> www.domain.com <-- "www"
My objective is to create a cookie free domain -> static.domain.com to serve static contents from on the same server.
This is an experiment to improve performance of website.
Please show me which file(s) to change cookie domain
-
Hello Errol,
You can try to change 1 line in php.
Open a file: ftp://includes>>control.inc.php
find line:
PHP Code:
Only registered members can view the code.
and replace to:
PHP Code:
Only registered members can view the code.
save and check again.
-
is this correct
PHP Code:
Only registered members can view the code.
-
Hello Errol.
Yes it should work. And all Flynax session will not work on subdomains.