Topic: php sessions across servers!!!

PHP SESSIONS NOT WORKING IN IFRAME!!!
im using Iframe to include another site http://othersite.com/signup.php in a html page of my site(http://mysite.com/test.htm. Both the sites are hosted on different servers. Now i could see the other site get displayed in my site. I could browse through the site and everything works fine except the sessions. I could not login into my account in this site(i.e. http://othersite.com/signup.php). It is working fine when i directly access this site in the browser. But the session variables are not passing page to page when i include it in IFRAME. I have tried for a solution in the forums but couldn't get one.
Plz help me!!!!!!!!!

2 (edited by sverrir 2005-05-05 15:19)

Re: php sessions across servers!!!

http://punbb.org/docs/faq.html#faq2_5

Re: php sessions across servers!!!

I'm pretty sure that is not the problem. If I remember correctly, sessions are only availible to the domain that set them, as they are stored on the actual server.
If you wanted to use a cookie approach, I think this is possible.

Indocron
$theQuestion = (2*b) || !(2*b);