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

The Dream Machine

The Dream Machine

M. Mitchell Waldrop / Penguin Books / 2002-8 / USD 16.00

While most people may not be familiar with the name J. C. R. Licklider, he was the guiding spirit behind the greatest revolution of the modern era. At a time when most computers were big, ponderous ma......一起来看看 《The Dream Machine》 这本书的介绍吧!

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

html转js在线工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具