Enable full Netcom for Internet-based cookies. logon and exit are also available for all Netcom
Source: Internet
Author: User
1. enable the use of dynamic network cookies for full Netcom. login and exit are also for full Netcom. Modify three files: ① open INC/dv_clsmain.asp
Find response. Cookies (forum_sn). Path = cookiepath
There should be a total of 1
Replace:
Response. Cookies (forum_sn). Path = "/" ② open login. asp
Find response. Cookies (dvbbs. forum_sn). Path = dvbbs. cookiepath
There should be three in total, one of which is: Response. Cookies (dvbbs. forum_sn). Path = dvbbs. cookiepath (there are spaces on both sides of the equal sign)
Replace:
Response. Cookies (dvbbs. forum_sn). Path = "/" ③ open logout. asp
Find response. Cookies (dvbbs. forum_sn). Path = dvbbs. cookiepath row 26th
There should be only one
Replace:
Response. Cookies (dvbbs. forum_sn). Path = "/". Therefore, it is possible to read the code by constructing a page in any directory: <! -- # I nclude file = "BBS/Conn. asp" -->
<! -- # I nclude file = "BBS/INC/Const. ASP "--> <% response. write Request. cookies (dvbbs. forum_sn) ("statuserid") & "<br>"
Response. Write Request. Cookies (dvbbs. forum_sn) ("usercookies") & "<br>"
Response. Write Request. Cookies (dvbbs. forum_sn) ("username") & "<br>"
Response. Write Request. Cookies (dvbbs. forum_sn) ("password") & "<br>"
Response. Write Request. Cookies (dvbbs. forum_sn) ("userclass") & "<br>"
Response. Write Request. Cookies (dvbbs. forum_sn) ("userid") & "<br>"
Response. Write Request. Cookies (dvbbs. forum_sn) ("userhidden") & "<br>" %>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.