### session
> 在controller 或 model 中引入:
```
use PHPt\lib\session;
```
> 在方法中实例化:
```
$i = new session();
```
### 储存
```
$i -> SESSION("key", "ourphp", 1);
```
相当于 $_SESSION['key'] = ourphp;
| 参数一:键值 | 参数二:要储存的值 |
| --- | --- |
### 读取
```
$i -> SESSION("key", "", 2);
```
| 参数一:键值 | |
| --- | --- |
### 删除
```
$i -> SESSION("key", "", 3);
```
| 参数一:键值 | |
| --- | --- |
### 判断
存在返回true 不存在返回false
```
$i -> SESSION("key", "", 4);
```
| 参数一:键值 | |
| --- | --- |