【发布时间】:2012-03-23 16:38:58
【问题描述】:
我是 codeigniter 的新手,并且对 php 有很好的体验。我最近遇到了一个 codeigniter 告诉我的错误
"In order to use the Session class you are required to set an encryption key in your config file."
我听说解决方案是粘贴
$config['encryption_key'] = 'your_encryption_key_here';
在配置文件中。
现在我完全不知道这里发生了什么。这个加密密钥是什么?为什么会话课程需要它,有什么意义?
谢谢大家。
【问题讨论】:
标签: php codeigniter session