Catalyst Session State
我们一般使用 cookie 来保存 sessionid, 如果 cookie 失效的话就用 url 来传递 sessionid.
这个在 Catalyst 里非常简单。我们能同时使用 State::URI 和 State::Cookie 模块。
perfect solution!
这个在 Catalyst 里非常简单。我们能同时使用 State::URI 和 State::Cookie 模块。
use Catalyst qw/将 URI 放在 Cookie 的前面。Session::State::URI 会判断有没有 load State::Cookie 而且 cookie 有没有效。如果 cookie 有效就使用 cookie, 无效就使用 uri.
-Debug
Dumper
Config::ConfigLoader
Static::Simple
Authentication
Authentication::Store::DBIC
Authentication::Credential::Password
Session
Session::Store::DBIC
Session::State::URI
Session::State::Cookie
/;
perfect solution!
2 Comments:
终于找到能留言的地方了
你的BLOG我很喜欢。
希望以后多多联系
我也是搞编程的
nice to see u. :)
Post a Comment
Links to this post:
Create a Link
<< Home