22 comments found.
Hello arl1nd,
First of all i fix the issue with my Country Detect and Redirect script. I used this script on localhost. Because of that reason it didn’t worked properly.
However, is there any way to use this system with multiple domains or at least with a subdomain?
Let say i have one domain which is test.com. On test.com i created a cookie called “mycookie”. test.com can read this cookie. its ok. But i want to read this cookie from test2.com. OR subdomain.test.com.
All script have same code/usage with superkey.
Is it possible?
Thanx, Xang.
Yes, for sure it is possible to use SafeCookie with multiple domains but there is something that browsers do not support for security purposes.
A cookie that is registered on www.test.com cannot be seen from subdomain.test.com, but you can support multiple domains cookies with database based cookies.
SafeCookie is just a way of securing cookies and doesn’t affect the cookie virtues.
Thank you al1nd
I will do it with database and ancrypt. (i can create a string with ancrypt and send it to another wbsite. So i can decrypt and use it. Or i will use database system.).