Date:  01/12/2010 03:00:51 PM Msg ID:  004095
From:  Ali Koumaiha Thread:  004091
Subject:  Re: Passing Session vars in an FWX to PHP
I just tried it on my FoxWeb server, and it worked.

m.tType = Session.GetVar("gType")
lcURL = ""+m.tType
<iframe src="<%=lcURL%>" width="100%" height="1000"></iframe>

Sent by James Williams on 01/12/2010 06:56:11 AM:
In your previous example you were missing a quote at the end of the src="".
Also does the php load in the iframe and just does not take any notice of the passed param or does the page simple not load.
Sent by Joe Goldsmiith on 01/11/2010 08:47:02 AM:
 James, thank you for your thoughts. I appreciate it. To be honest your example is the same as I have tried below where I mentioned using <%%> in the SRC string.
Best regards,
Sent by James Williams on 01/11/2010 06:39:15 AM:
Looks like you were on the right track but just have a few errors within the link try this:

<iframe src="<%=m.tType%>" width="100%" height="1000"></iframe>

<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" Align="center">
        <TD width="50">
            <iframe src=" width="100%" height="1000"></iframe>
I also have tried:
Anyone have an idea how to pass the session var into an IFRAME calling a PHP script?