PHP的Session管理框架 patSession

码农软件 · 软件分类 · 其他开发相关 · 2019-11-01 06:59:46

软件介绍

patSession 是一个用来管理 HTTP 的会话(Session)的抽象层,当你的PHP应用需要操作Session时,使用它可以大大简化操作的过程。

示例代码:

// patSession requires patError!
require_once 'pat/patErrorManager.php';

// include the factory/load of patSession
require_once 'pat/patSession.php';

// start the session
$sess = patSession::singleton( 'my_first_session' );
// start the session
$sess = patSession::singleton( 'my_first_session' );

$sess['box'] = 'Jack';
$sess->set( 'box', 'jack' );
echo 'Look! There is ' . $sess->get( 'box' ) ' in the box<br />';

$sess['bar'] = 'foo';

echo '<b>class name:</b> ' . get_class( $sess ) . '<br />';

本文地址:https://www.codercto.com/soft/d/18008.html

Learning Vue.js 2

Learning Vue.js 2

Olga Filipova / Packt Publishing / 2017-1-5 / USD 41.99

About This Book Learn how to propagate DOM changes across the website without writing extensive jQuery callbacks code.Learn how to achieve reactivity and easily compose views with Vue.js and unders......一起来看看 《Learning Vue.js 2》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具