Setting session from within iframe?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a problem that maybe someone can shed some light on.

I have a page, lets say it is located here...

 www.domain1.com

On this page is a iframe with a src like so...

 www.domain2.com/mypage.php

This php page has a session _start call in it.

The problem is, the session cookie is not set when the php is called into an
iframe. The session_id changes each time the iframe is refreshed.

If I go to the page directly, then the cookie is set (and stays set).

This happens in Safari, not FF.

Is there some sort of bug that will not allow session cookies to be set when
a page is called from an iframe?

I have heard IE does this as well?





-- 
Mike B^)>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux