Database container Introduction

HTTP

PEAR Manual


HTTP_Session2

Table of Contents
Introduction -- An introduction to HTTP_Session2
Using a database container -- How to store session data in a database with HTTP_Session2
Making a session persistent -- This example illustrates how to make a session persist over multiple browser sessions using a so called "session cookie".

The HTTP_Session2 package provides an Object-oriented interface to the session_* family functions. It's a PHP5 port of the HTTP_Session package.

HTTP_Session2 provides extra features such as database storage for session data using the DB and MDB2 package. It also introduces new methods, such as isNew(), useCookies(), setExpire(), setIdle(), isExpired(), isIdled() and others.



Database container Introduction

HTTP

PEAR Manual