Cant read cookie
Posted 11 August 2006 - 06:11 AM
I cant read a cookie under the following senario:
1) I write a cookie at the URL: http://www.mydomain....writecookie.php
2) at http://www.anotherdo...ntegration.html there is something like that:
img src="http://www.mydomain....readcookie.php" that reads the cookie and update some stuff at my db.
if I go directlly to http://www.mydomain.com/readcookie.php, the cookie is being read.
if I go to http://www.anotherdo...ntegration.html, the cookie is not being read.
I added an alert to http://www.mydomain.com/readcookie.php that display the domain is runs on and it returned
Any idea what am I doing wrong??
Posted 11 August 2006 - 06:16 AM
Posted 11 August 2006 - 06:26 AM
the PHP script is just being called from a page that is not on the same domain but it run on the same server as it was wrriten.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users