【发布时间】:2014-10-16 19:20:11
【问题描述】:
我正在我的 PHP 脚本中设置会话,我想检查 google chrome 中存储的 SESSION 变量的值。如何客户端检查保存的值?
【问题讨论】:
-
你不能。 chrome 唯一从 PHP 接收的与会话相关的数据是带有会话 ID 的 cookie。实际会话数据(例如
$_SESSION['foo'] = 'bar';纯粹保存在服务器上。
标签: php google-chrome session session-variables