[FX.php List] Re: FX.php Sessions

Chris Hansen chris at iViking.org
Thu Dec 9 15:11:45 MST 2004


I think you missed what I was saying.  As far as I know, there is no 
way to use FileMaker sessions with XML (which is how FX.php access 
FileMaker).  From the Custom Web Publishing Guide:

"For direct XML requests and requests made via XSLT stylesheets that 
don’t use  sessions, the global values expire immediately after the 
request is made."

This is the only reference I've been able to find to XML and sessions, 
and it's quite clear that with XML requests, global values expire 
immediately.  In addition, all references to sessions in the 
documentation are specifically related to XSLT stylesheets.  That said, 
I have no reason to believe the FM sessions are even available when 
using XML.  So if there's a value that needs to be stored on a per user 
basis, you'll need to use PHP sessions to do so.

If you do want to think of the connection between FX.php and FM as a 
session, then think of it as a session that terminates immediately: 
it's as if the user logs in, performs a query, and then logs out.


--Chris Hansen
   creator of FX.php
   "The best way from FileMaker to the Web."

On Dec 9, 2004, at 2:21 PM, Fred Sahakian wrote:

> PHP and Filemaker handle sessions seperately, thus there are 2 
> sesssions
> going on.
> If I end a PHP session, a session in filemaker for that user still
> continues.
> In XSLT there is a way to terminate a Filemaker session, I want to know
> if PHP could tell FM to end it as well.
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

More information about the FX.php_List mailing list