[FX.php List] [API] How to monitor session in FileMaker PHP
Someone
someone at gagayaya.com
Thu Oct 1 15:18:23 MDT 2009
try echo phpinfo();
and look for session.save_path
maybe use the session_save_path() function to change the location
Frank
On Sep 14, 2009, at 1:57 PM, Gjermund Gusland Thorsen wrote:
> Mine are in
>
> /var/lib/php4
>
> /var/lib/php5
>
> ggt
>
> 2009/9/14 Andrew Denman <adenman at tmea.org>:
>> Jonathan,
>>
>> Even though the php.ini file says the save_path directive must be
>> set, my Zend install of PHP on Windows saves the sessions in a
>> temp folder in the PHP installation directory, so there must be
>> some other setting it is looking at that I haven't found.
>>
>> Places I would check for the session files are a temp folder in
>> the PHP installation folder, the C:\Windows\temp folder, or
>> whichever folder is set in the TEMP system variable (My Computer >
>> Properties > Advanced > Environment Variables > System
>> Variables). The session files have names like
>> 'sess_1ebeb3gptijgae5ul1amhre3j5', where the characters after the
>> underscore are the session ID. I guess you could also search for
>> files named 'sess_*' and see what shows up.
>>
>> Andrew Denman
>>
>> -----Original Message-----
>> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-
>> bounces at mail.iviking.org] On Behalf Of Jonathan Schwartz
>> Sent: Sunday, September 13, 2009 6:18 PM
>> To: FX.php Discussion List
>> Subject: Re: [FX.php List] [API] How to monitor session in
>> FileMaker PHP
>>
>> Or...maybe I have it wrong. Is the session data only stored in
>> memory? That would explain why I can't find physical files.
>>
>> J
>>
>>
>> Thanks Michael,
>>
>> Actually, I was referring to PHP sessions. You
>> know...session_start(); $_SESSION['CustomerID']; etc.
>>
>> They are supposed to be stored in the directory indicated in the
>> info.php. But mine shows none.
>>
>> Jonathan
>>
>> At 8:44 AM +1000 9/14/09, Head Honcho wrote:
>>> Hi Jonathan,
>>>
>>> On 14/09/2009, at 3:38 AM, Jonathan Schwartz wrote:
>>>
>>>> Anyone know how to monitor the number of sessions open in
>>>> FileMaker's PHP under FMS10 and Windows Server 2008? Or at
>>>> least..where are the files stored?
>>>>
>>>> I trying to rack down memory issues what might be tied to
>>>> lingering sessions.
>>>
>>> Unless I am completely wrong, I thought that API for PHP calls to
>>> FileMaker were not (FileMaker) session bound... ie. connect, do
>>> your stuff, disconnect. IWP certainly create sessions, and you can
>>> see users in the Admin Console. I haven't seen API users in the
>>> Admin console.
>>>
>>> Which is why, I believe, it is _hard_ to reach the 100 simultaneous
>>> connection limit on Server.
>>>
>>> Doesn't help you in your memory issues, though.
>>>
>>> Regards
>>>
>>> Michael Ward
>>> --
>>> Head Honcho
>>> CustoMike Solutions
>>> Member, FileMaker Business Alliance
>>> Member, FileMaker Technical Network
>>> FileMaker 7 Certified Developer
>>> FileMaker 8 Certified Developer
>>> FileMaker 9 Certified Developer
>>> FileMaker 10 Certified Developer
>>> 10 Wandoo Crt
>>> Wheelers Hill, 3150
>>> ph 0414 562 501
>>> headhoncho at customikesolutions.com
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
>> --
>> Jonathan Schwartz
>> Exit 445 Group
>> jonathan at exit445.com
>> http://www.exit445.com
>> 415-370-5011
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>> --
>> Jonathan Schwartz
>> Exit 445 Group
>> jonathan at exit445.com
>> http://www.exit445.com
>> 415-370-5011
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
> _______________________________________________
> 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