o80/session

Handle session start and provide some security.

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/o80/session

dev-master 2015-04-02 08:57 UTC

This package is not auto-updated.

Last update: 2025-10-11 22:35:16 UTC


README

This PHP library provide some security around the stealing of session.

Build Status Latest Unstable Version License

How-to

Installation

With Composer, you simply need to require o80/session:

{
...
    "require": {
        "o80/session": "dev-master"
    }
...
}

Starting session

Replace session_start(); by $session = new o80\Session(); $session->start();.

Using session

Nothing changed :

// Writing
$_SESSION['x'] = 'foo';

// Reading
$bar = $_SESSION['x'];

Contribution

Just fork the project, make your changes, ask for pull request ;-).