[PHP] Custom database session handler and data concurrent access from ajax request

2007-05-03 Thread n . quirin
Hi, i'm currently working on a web site that use AJAX requests to load a web page by part. So, my apache server gives quickly an answer and current client must wait a little bit in order to have the entire web page, but while this loading step, he can already see my partially displayed web page

Re: [PHP] Custom database session handler and data concurrent access from ajax request

2007-05-03 Thread Nicolas Quirin
Nobody could help me??? THX - Original Message - From: [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, May 03, 2007 11:45 AM Subject: [PHP] Custom database session handler and data concurrent access from ajax request Hi, i'm currently working on a web site

Re: [PHP] Custom database session handler and data concurrent access from ajax request

2007-05-03 Thread Richard Lynch
On Thu, May 3, 2007 4:45 am, [EMAIL PROTECTED] wrote: Sessions are managed in a mysql database, with autocommit enabled. I'm using mysql_pconnect in my handler to read/write session data (same user, same password, same host, always). As noted in the user comments of the on-line manual, the

Fw: [PHP] Custom database session handler and data concurrent access from ajax request

2007-05-03 Thread Nicolas Quirin
- Original Message - From: Nicolas Quirin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 03, 2007 6:22 PM Subject: Re: [PHP] Custom database session handler and data concurrent access from ajax request Ok thanks a lot to confirm my problem. I have partially

Re: Fw: [PHP] Custom database session handler and data concurrent access from ajax request

2007-05-03 Thread Richard Lynch
On Thu, May 3, 2007 11:24 am, Nicolas Quirin wrote: current session. Semaphore is created if not existent, semaphore is acquired if free, blocking if process must wait for this ressource. From my first tests of it, less error occured... less, or none? If it's not none there is something