[development] session questions - SOLVED

David Cohen drupal at dave-cohen.com
Mon Oct 20 18:48:30 UTC 2008


My session problem on IE...

The page in question was an iframe, and apparently IE is not inclined to
send back cookies to iframes.  Fun!

I found what appears to be a solution here:
http://james.jamesandkristin.net/2005/11/18/php-session-cookie-in-frames-using-internet-explorer

On Fri, 17 Oct 2008 17:26:35 -0700, "Dave Cohen" <drupal at dave-cohen.com>
said:
> Moshe and all,
> 
> Thanks for the clarification, you're correct that's how it should behave.
>  The 
> truth is I was mucking with the session_name() and session_id().  I find
> that 
> if I don't muck, then the cookies are consistent even in IE.
> 
> However, I have a good reason to muck with these values.  I'm serving
> pages 
> both on a regular website, and also in Facebook canvas pages (using
> iframes).  
> I don't want the Facebook iframes to share session state with the normal
> web 
> pages.
> 
...


More information about the development mailing list