CXIII. PostgreSQL Session Save Handler

Einführung

Warnung

Diese Erweiterung ist EXPERIMENTELL. Das Verhalten dieser Erweiterung, einschließlich der Funktionsnamen, und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Erweiterung auf eigenes Risiko.

Anmerkung: Diese Erweiterung steht auf Windowsbetriebssystemen nicht zur Verfügung.

This module provide additional session save handler for session module using PostgreSQL as a storage. user session save handler may be used, but this module is written in C. Therefore, this module is roughly 2 times faster than save handler written in PHP script.

Fail-over and load balance is planned to be implemented, but they are not available now.

Anmerkung: There will be functions for this module, but it is not available now.

Anforderungen

You need at least PHP 4.1, PostgreSQL 7.1 and MM 1.1.3

Installation

Short installation note:

  • Untar the tar.gz archive into php4/ext (Latest official releases can be found at SourceForge PHP Form Extension Project)

  • If the new directory is now called something like session_pgsql. You should name it to session_pgsql (except you only want to build it as self-contained php-module).

  • Run ./buildconf in php4

  • Run configure --with-session-pgsql (and your other options)

  • make; make install

Laufzeit Konfiguration

Das Verhalten dieser Funktionen wird durch Einstellungen in der php.ini beeinflusst.

PostgreSQL session save handler is still under development. Refer to the README file in the source distribution for configuration details.

Contact Information

I have at the moment not very much time to further develop this extension. I will implement more and more features in the near future.

If you have comments, bug fixes, enhancements or want to help developing this, you can drop me a mail at yohgaki@php.net. Any help is very welcome.

Inhaltsverzeichnis
session_pgsql_add_error -- Increments error counts and sets last error message
session_pgsql_get_error -- Returns number of errors and last error message
session_pgsql_get_field -- Get custom field value
session_pgsql_reset -- Reset connection to session database server
session_pgsql_set_field -- Set custom field value
session_pgsql_status -- Get current save handler status