Ci 错误 In order to use the Session class you are required to set an encryption key in your config file.

说明自己没有给session 加密  ,在配置文件config中     $config['encryption_key'] = '2rf3f3fwefwefwef2';

原文地址:https://www.cnblogs.com/hgj123/p/3878176.html