1、实现动网COOKIEs全网通用,登陆、退出也是全网通用。
修改三个文件:
①打开inc/Dv_ClsMain.asp
寻找 Response.COOKIEs(Forum_sn).path=COOKIEpath
应该共有1个
替换为:
Response.COOKIEs(Forum_sn).path="/"
寻找 Response.COOKIEs(Forum_sn).path=COOKIEpath
应该共有1个
替换为:
Response.COOKIEs(Forum_sn).path="/"
② 打开login.asp
寻找 Response.COOKIEs(Dvbbs.Forum_sn).path=Dvbbs.COOKIEpath
应该共有3个,其中一个是:Response.COOKIEs(Dvbbs.Forum_sn).path = Dvbbs.COOKIEpath(等号两旁有空格)
替换为:
Response.COOKIEs(Dvbbs.Forum_sn).path="/"
寻找 Response.COOKIEs(Dvbbs.Forum_sn).path=Dvbbs.COOKIEpath
应该共有3个,其中一个是:Response.COOKIEs(Dvbbs.Forum_sn).path = Dvbbs.COOKIEpath(等号两旁有空格)
替换为:
Response.COOKIEs(Dvbbs.Forum_sn).path="/"
③ 打开logout.asp
寻找 Response.COOKIEs(Dvbbs.Forum_sn).path=Dvbbs.COOKIEpath 第26行
应该只有一个
替换为:
Response.COOKIEs(Dvbbs.Forum_sn).path="/"
寻找 Response.COOKIEs(Dvbbs.Forum_sn).path=Dvbbs.COOKIEpath 第26行
应该只有一个
替换为:
Response.COOKIEs(Dvbbs.Forum_sn).path="/"
于是在任意目录中构建页面读取皆为可能
读取代码:
<%
response.Write request.COOKIEs(Dvbbs.Forum_sn)("StatUserID")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("userCOOKIEs")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("username")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("password")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("userclass")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("userid")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("userhidden")&"
"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("userCOOKIEs")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("username")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("password")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("userclass")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("userid")&"
"
response.Write request.COOKIEs(Dvbbs.Forum_sn)("userhidden")&"
"
%>