[FX.php List] Setting a global...
Bob Patin
bob at patin.com
Mon Apr 15 14:42:37 MDT 2013
On Apr 15, 2013, at 3:39 PM, Troy Meyers <tcmeyers at troymeyers.com> wrote:
> Bob,
>
> I may have missed something here. What's the purpose of setting the global? How do you know that it isn't getting set?
>
> Remember (unless I'm all wet) FileMaker globals from web queries only persist during the QUERY. With EACH query, it's as if the web user logs into filemaker (and gets the default global values), makes the query and get results, and logs off. Even if there are multiple queries in the PHP for the page.
>
> Am I pointing out the wrong thing?
Good point! I was thinking that I'd see it... didn't think it through. I'm trying to write something for a client who has a rather complex set of scripts, to see if we can fire it from the web and return all the data. In order to do it I have to pass a value...
I think I'll create a TEMP table and write to a field so that I can see it all happening...
Thanks for opening my eyes; I wasn't thinking about the fact that the webuser and I are 2 different users... duh.
BP
More information about the FX.php_List
mailing list