在wordpress的几个Varnish示例中,我看到了以下内容: # Add the browser cookie only if a WordPresscookieif (req.http.Cookie ~ "wp-postpass_|wordpress_logged_in_|comment_author|PHPSESSID") {
hash_data (req.http.Co
好的,这就是我的问题:当一个用户登录到我的站点时,我把他们所有的用户信息放到一个会话中,如下所示//Put all user info into session cookiehashed_password'];
问题是,如果他们从www.domain.com登录,然后出现在domain.com的页面上,或者反过来,他们从domain.com登录,然后出现在www.domain.com的页面上,则会话中存储的信息不可用I don't get the undefined