DZ的配置
$cookiepre = 'cdb_'; // cookie 前缀
$cookiedomain = ''; // cookie 作用域
$cookiepath = '/'; // cookie 作用路径
SS的配置
$_SC['cookiepre'] = 'supe_'; //Cookie前缀
$_SC['cookiedomain'] = ''; //cookie 作用域。请设置为 .yourdomain.com 形式
$_SC['cookiepath'] = '/';
作用于都改过,无效,而且SS变成无法注销
在SS登入后,用火狐查看的头文件,设置COOKIE部分
Set-Cookie: supe_sid=deleted; expires=Thu, 11-Sep-2008 15:13:35 GMT; path=/; domain=.www.*****.com
Set-Cookie: supe_auth=deleted; expires=Thu, 11-Sep-2008 15:13:35 GMT; path=/; domain=.www.*****.com
Set-Cookie: supe_sauth=deleted; expires=Thu, 11-Sep-2008 15:13:35 GMT; path=/; domain=.www..*****..com
Set-Cookie: supe_auth=a28dF3Kek6eTvw4B23dXbNFxfhprkdiR3Lu5RMMrCL58qwbm0XckgRWQ1O%2BwU%2FVU3jrs1lXdpZHYElvktTe8qw; path=/; domain=.www.12530fans.com
Set-Cookie: _refer=deleted; expires=Thu, 11-Sep-2008 15:13:35 GMT
Content-Length: 3723
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8
在SS点论坛跳转时候DZ获取COOKIE部分
GET /discuz/forumdata/cache/style_1_common.css?V58 HTTP/1.1
Host: www.*******.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) FirePHP/0.3
Accept: text/css,*/*;q=0.1
Accept-Language: zh-cn,zh;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: GB2312,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.*******.com/discuz/
Cookie: supe_sid=2z9c94; cdb_sid=b8t92F; supe_seccode=9fdfBKBWvGabRDlJkgnIcMNauXMSpBBTQsHuuB7bkEkU; supe_auth=a28dF3Kek6eTvw4B23dXbNFxfhprkdiR3Lu5RMMrCL58qwbm0XckgRWQ1O%2BwU%2FVU3jrs1lXdpZHYElvktTe8qw; cdb_onlineusernum=3
If-Modified-Since: Fri, 11 Sep 2009 14:06:56 GMT
If-None-Match: "2000000008968-9097-4734dd433dd8c" |