I’ll try to explain what I’m doing (briefly) and then present the problem….
I’m taking the html output from a separate page and stuffing it into a DIV within a parent page (kind of a psuedo frame). I’m using file_get_contents() to render the php file to html and then outputting the resulting html inside a DIV.
The problem I’m having is that these “sub pages” are dependent upon session variables and it seems that file_get_contents() does a great job of executing the file but it runs it in a seperate session from the “parent page”. Hence the values the “sub pages” need are not available to them and the messages they send back to the parent aren’t available to the “parent page”.
I’ve not tried to do anything fancy with session variables so I’m not sure how to do what I need. What I need is to be able to specify the session_id to each and then have the pages render within that environment. I’m assuming I somehow use COOKIES to do this but don’t know how to accomplish what I want.
Any pointers to documentation about this?
thanks,
tony