配置文件在config/session.php中,可以为多种的类型驱动。
file 文件类型驱动
cookie 存储到经过加密的cookie中
database 存储到数据库中
memcached/redis 存储在缓存中
array 存储到php数组中,不会持久化,用于测试。