Home  >  Article  >  Backend Development  >  哪位高手了解web服务器如何配置会把session加密?能解密吗?

哪位高手了解web服务器如何配置会把session加密?能解密吗?

WBOY
WBOYOriginal
2016-06-13 12:14:25853browse

谁了解web服务器怎么配置会把session加密?能解密吗?????
我有个空间,因为我用了数据库作session,所以我能看到数据库表里的session数据是一段乱码,不是直接明文的。
怎么配置的?能反解密吗?


因为我用数据库当session,是因为 我需要在其它电脑上通过获取sid复制这个session实现多台电脑登录。



.
------解决思路----------------------
保存的时候,加一字段,保存session_id;
------解决思路----------------------
你要复制session到另外的库,还不如使用memcache保存session方便。
------解决思路----------------------
如果把 session 放到数据里,那么你就得自己写处理函数
既然你写了自己的处理函数,那么怎么会不知道是如何加密的呢?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn