php-general | 2001122
Date: 12/17/01
- Next message: Maxim Derkachev: "Re: [PHP] Goofy interactions between $this and vars in classs. 4.1.0"
- Previous message: David Yee: "[PHP] PHP as a web browser?"
- Next in thread: Yasuo Ohgaki: "[PHP] Re: postgres session handling"
- Reply: Yasuo Ohgaki: "[PHP] Re: postgres session handling"
- Reply: Yasuo Ohgaki: "[PHP] Re: postgres session handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have need to get php to use postgres to store session information.
I've changed the directive in php.ini and written a set of functions
that should do the job and I've made the call to set the session
handler. The following simple test case works:
<?
require_once ('database.php');
require_once ('sess_handler.php');
//session_start ();
session_register ('asdf');
$asdf = 123;
print $asdf;
?>
the idea being that the line where $asdf is assigned is commented out in
the second execution of it and the value is still there upon reloading.
That works fine. But, when I try to use it with the code for which it
was originally intended I get this error:
*Fatal error*: Failed to initialize session module in
*/usr/local/apache/vhosts/600xl/httpdocs/fe_login.php* on line *44*
Keep in mind that this is all code which worked perfectly with the bulit
in session handler before. Any ideas?
Thanks,
James.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Maxim Derkachev: "Re: [PHP] Goofy interactions between $this and vars in classs. 4.1.0"
- Previous message: David Yee: "[PHP] PHP as a web browser?"
- Next in thread: Yasuo Ohgaki: "[PHP] Re: postgres session handling"
- Reply: Yasuo Ohgaki: "[PHP] Re: postgres session handling"
- Reply: Yasuo Ohgaki: "[PHP] Re: postgres session handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

