Making coockies valid for multiple domains possible?
| From: | Merlin | Date: | Mon, 12 Jan 2004 08:56:52 +0000 |
| Subject: | Making coockies valid for multiple domains possible? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174292@lists.php.net to get a copy of this message | ||
Hello everybody,
I am working on translating my site into multiple languages (i18n). Each different language is hosted on the same server, but on a different subdomain.
example:
de.server.com - german
en.server.com - english
Here comes the problem. Sessions are validated through coockies on my site. The system checks if the coockie is valid and compares it with a sessionid inside the database.
It seems to me that coockies are only valid for one domain for security reasons.
QUESTION:
Is there a way to make that coockie valid for multiple domains?
Thank you for any help on that.
Regards,
Merlin