Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iframes and cookies

Status
Not open for further replies.

KryptoS

Programmer
Feb 7, 2001
240
BE
Hey,

I have a little problem.

I load page In this script I have an iframe to somewhere else eg. In this frame I try to write some cookies, but it's not working?

There is nothing wrong with the script. When I place the test.php on the mysite webserver and call it from there it's all working.

It's like when you call a page not on the same server with iframe. It won't write the cookies?

anyone any experience?

if you like to test it. This is the code I run on my local server. If you try the form.php you'll see that it works.
Code:
<iframe frameborder="O" height="200" width="200" scrolling="no" src="[URL unfurl="true"]http://www.lekkeredate.be/test/form.php"></iframe>[/URL]



The One And Only KryptoS
 
just checked it with FireFox and the script is working fine. So must be something with IE.

The One And Only KryptoS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top