Re: [PHP] Postgresql session handling

2001-02-26 Thread Bolt Thrower
I <[EMAIL PROTECTED]> wrote: > Can someone give me a simple example script that uses postgres session > handling, that works with register_globals "off"? As a followup again, it seems what I've been running into is a bug in PHP: http://bugs.php.net/bugs.php?id=8772 http://bugs.

Re: [PHP] Postgresql session handling

2001-02-22 Thread Bolt Thrower
I <[EMAIL PROTECTED]> wrote: > It seems the pgsql_session_write() function is not even being invoked. > Here it is: As a followup, it seems that turning register_globals "on" allows the pgsql_session_write() function to be called, and my test script works if I replace $HTTP_SESSION_VARS["count"]

Re: [PHP] Postgresql session handling

2001-02-20 Thread Bolt Thrower
"Richard Lynch" <[EMAIL PROTECTED]> wrote: > The writing of the session data occurs *after* the server-browser HTTP > connection is cut. > If you have any error-reporting happening in your session_write function, > you won't see it. > Alter that function to log errors to a file or something. It

[PHP] Postgresql session handling

2001-02-20 Thread Bolt Thrower
PHP 4.04pl1, PostgresQL 7.0.3 on a RedHat 6.2 system. I'm trying to get session data to be stored in a postgres table. I'm using the pgsql session handler from http://www.csh.rit.edu/~jon/projects/php/pgsql_session_handler/, and I think I've got it set up correctly, but I thought I'd ask here fi