Re: Postgresql session handling
| From: | Bolt Thrower | Date: | Wed, 21 Feb 2001 17:15:16 +0000 |
| Subject: | Re: Postgresql session handling | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41010@lists.php.net to get a copy of this message | ||
I <news@teiresias.net> 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"] with $count. However, my
environment is such that I have register_globals "off", which seems
to conflict with sessions. In fact, I even get a
Undefined variable: HTTP_SESSION_VARS
error for the line
$HTTP_SESSION_VARS["count"]++;
Can someone give me a simple example script that uses postgres session
handling, that works with register_globals "off"?
Thanks,
--
Steve <news@teiresias.net>
"And when you walk in golden halls, you get to keep the gold that falls"
-- Black Sabbath, "Heaven and Hell"