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 first.
With the following test script

+-----------------------------------------------------------------
| <? include("pgsql_session_handler.inc"); ?>
| <?
| session_start();
| session_register("count");
| $HTTP_SESSION_VARS[count]++;
| ?>
| <html>
| <head>
|         <title>Test page</title>
| </head>
| <body>
| Hello!  You've been here <?= $HTTP_SESSION_VARS[count]; ?> times!<br>
| 
| <?  print "To continue, <A HREF=\"test-session.php\">click here</a>"; ?>
| 
| </body>
| </html>
+-----------------------------------------------------------------

I can see php querying the database for session data (in the postgres
logs), but never writing session data to the database.  Thus, the
counter is always '1'.

Any ideas where I'm going wrong?  Why wouldn't session data get
written to the database?

Thanks,
-- 
Steve <[EMAIL PROTECTED]>
Now playing: Five Magics
(Megadeth - "Rust In Peace")

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to