2017 © Pedro Peláez
 

library session

Session Component provides basic methods to work with session.

image

flextype-components/session

Session Component provides basic methods to work with session.

  • Tuesday, June 26, 2018
  • by Awilum
  • Repository
  • 1 Watchers
  • 3 Stars
  • 108 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 44 % Grown

The README.md

Session Component

versionMIT License, (*1)

Installation

composer require flextype-components/session

Usage

Start the session., (*2)

Session::start();

Delete one or more session variables., (*3)

Session::delete('user');

Destroy the session., (*4)

Session::destroy();

Check if a session variable exists., (*5)

if (Session::exists('user')) {
    // Do something...
}

Get a variable that was stored in the session., (*6)

echo Session::get('user');

Return the sessionID., (*7)

echo Session::getSessionId();

Store a variable in the session., (*8)

Session::set('user', 'Awilum');

License

See LICENSE, (*9)

The Versions

26/06 2018

dev-master

9999999-dev https://github.com/flextype-components/session

Session Component provides basic methods to work with session.

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

session

26/06 2018

v1.1.1

1.1.1.0 https://github.com/flextype-components/session

Session Component provides basic methods to work with session.

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

session

05/04 2018

v1.1.0

1.1.0.0 https://github.com/flextype-components/session

Session Component provides basic methods to work with session.

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

session

04/04 2018

v1.0.3

1.0.3.0 https://github.com/flextype-components/session

Simple Session Class

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

session

26/10 2015

v1.0.2

1.0.2.0 https://github.com/force-components/Session/issues

Simple and PHP Class to with Session

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

url