我刚刚在 ZF2 的 Session 上得到了转储
Zend\Session\Storage\SessionStorage Object
(
[isImmutable:protected] =>
[storage:ArrayObject:private] => Array
(
[__ZF] => Array
(
[_REQUEST_ACCESS_TIME] => 1359526796.5079
[FlashMessenger] => Array
(
[EXPIRE_HOPS] => Array
(
[hops] => 1
[ts] => 1359526775.9345
)
)
)
[FlashMessenger] => ArrayObject Object
(
[storage:ArrayObject:private] => Array
(
[default] => Zend\Stdlib\SplQueue Object
(
[flags:SplDoublyLinkedList:private] => 4
[dllist:SplDoublyLinkedList:private] => Array
(
[0] => Authentication successful.
)
)
)
)
[zf_tutorial] => ArrayObject Object
(
[storage:ArrayObject:private] => Array
(
[storage] => hello
)
)
[zftutorial] => ArrayObject Object
(
[storage:ArrayObject:private] => Array
(
[role] => user
)
)
)
)
我只是不知道如何找回
[角色] => 用户