All Projects → yakeing → php_session

yakeing / php_session

Licence: MPL-2.0 license
This is a SESSION class function package, use more easily, just a few simple functions can use it.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php session

PHP-Session
PHP library for handling sessions.
Stars: ✭ 54 (+3.85%)
Mutual labels:  session, php-sessions
egg-weapp-sdk
Egg的微信小程序登录会话管理SDK
Stars: ✭ 111 (+113.46%)
Mutual labels:  session
laravel-dynamodb-session-driver
DynamoDB Session Driver for Laravel 5
Stars: ✭ 15 (-71.15%)
Mutual labels:  session
laravel-stateless-session
CSRF verification and session persistent through request/response headers.
Stars: ✭ 33 (-36.54%)
Mutual labels:  session
koa-session-mongoose
Mongoose store for Koa sessions
Stars: ✭ 29 (-44.23%)
Mutual labels:  session
jwt-session
JwtSession is a PHP session replacement. Instead of use FileSystem, just use JWT TOKEN. The implementation follow the SessionHandlerInterface.
Stars: ✭ 42 (-19.23%)
Mutual labels:  php-sessions
web-session-counter
Utility to count a user's web sessions based on the definition GA uses.
Stars: ✭ 22 (-57.69%)
Mutual labels:  session
session
Aplus Framework Session Library
Stars: ✭ 170 (+226.92%)
Mutual labels:  session
nestjs-session
Idiomatic Session Module for NestJS. Built on top of `express-session` 😎
Stars: ✭ 150 (+188.46%)
Mutual labels:  session
app
Aplus Framework App Project
Stars: ✭ 338 (+550%)
Mutual labels:  session
session
Package session is a middleware that provides the session management of Macaron.
Stars: ✭ 26 (-50%)
Mutual labels:  session
lumen-session-example
Enable session in lumen framework (Laravel)
Stars: ✭ 22 (-57.69%)
Mutual labels:  session
python-pytest-harvest
Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.
Stars: ✭ 44 (-15.38%)
Mutual labels:  session
firebase-spring-boot-rest-api-authentication
Firebase Spring Boot Rest API Authentication
Stars: ✭ 172 (+230.77%)
Mutual labels:  session
egg-session-redis
redis store for egg session
Stars: ✭ 41 (-21.15%)
Mutual labels:  session
ocaml-cookie
Working with cookies in OCaml and Reason
Stars: ✭ 31 (-40.38%)
Mutual labels:  session
WaWebSessionHandler
(DISCONTINUED) Save WhatsApp Web Sessions as files and open them everywhere!
Stars: ✭ 27 (-48.08%)
Mutual labels:  session
Session
PHP Session Manager (non-blocking, flash, segment, session encryption)
Stars: ✭ 23 (-55.77%)
Mutual labels:  session
iron-session
🛠 Node.js stateless session utility using signed and encrypted cookies to store data. Works with Next.js, Express, NestJs, Fastify, and any Node.js HTTP framework.
Stars: ✭ 1,729 (+3225%)
Mutual labels:  session
framework
Aplus Full-Stack Framework
Stars: ✭ 172 (+230.77%)
Mutual labels:  session

SESSION

This is a SESSION class function package, use more easily, just a few simple functions can use it.

Session Functions Table of Contents.

Travis CI badge

Travis-ci

codecov badge

codecov

Github badge

Downloads Size tag license languages

Installation

Use Composer to install the library. Of course, You can go to Packagist to view.


    $ composer require yakeing/php_session

session init

  • example
    $expire = 180;  //Default server 180 minutes client end
    $id = md5('uid'); //user ID, Default automatic generation
    $name = "PHPSESSID";
    $limiter = "private";
    $handler = null;
    $session = new session($expire, $id, $name, $limiter, $handler);

FUNCTION

  • example
    $name = 'admin';
    $value = 'pass';
    $session->Set($name, $value); //Set up a session Value
    $session->Get($name); //Get a session Value
    $session->Delete($name); //Write off a session Value
    $session->Unset(); //End all session Value
    $session->Destroy(); //End all session Value

Sponsor

If you've got value from any of the content which I have created, then I would very much appreciate your support by payment donate.

Sponsor

Author

weibo: yakeing

twitter: yakeing

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].