PDA

View Full Version : Cookies? Iframes? OH NOES!



Nailgunpro
05-13-2008, 10:04 PM
Hello, I use a simple PHP Login system on my site, but because I can't afford a domain, I use www.freedomain.co.nr which uses a big iframe to display my site. In the PHP script I tried to set the COOKIE_DOMAIN for my login script to www.my_site.co.nr, but that won't work. Is there a way I can use JS to send the COOKIE_DOMAIN to the iframe, or any other way to make it work?

I've gone to JS, they told me to go to PHP, and they told me to come to OTHER. PLEASE help.

Thanks in advance,
Nailgunpro

thetestingsite
05-19-2008, 04:01 AM
... I use www.freedomain.co.nr which uses a big iframe to display my site

Have you tried setting the domain to that of the site that is displayed in the frame? In any case, post the code and/or a link to your problem page so that we can further identify the issue.