Tell you how to solve the DZ forum account can not exit

Source: Internet
Author: User
Tags aliyun browser click cookie cookies domain domain name exit

Intermediary trading http://www.aliyun.com/zixun/aggregation/6858.html"> SEO diagnostic Taobao customer hosting technology hall

Today I get forum forum account can not exit the situation, the forum has been click to exit, although has been prompted to quit, but has not quit. Finally some tinker with a solution to this small thing, the following method to say, so as to avoid everyone Next encounter!

DZ Forum can not exit there are two conditions.

1, is the browser problem, you try to log in another browser to exit! If you can quit, it is a browser problem.

Or clear the browser's cookies

The solution to this problem is to clear the cookies stored on your computer. Methods as below:

Right-click on the desktop, "Internet Explorer" in the pop-up menu, select "Properties" command, or in the "Tools" menu, select "Internet Options", the following screen will appear:

Select "Delete Cookies" button in the pop-up dialog box, select "OK" to delete Cookies, you can not log in or can not exit the problem should be solved.

2, is the forum cookies, the need to modify the forum database files, set the cookie scope!

The first step is a very simple test, here's how to modify the DZ database file, set the cookie scope.

Enter the specific steps:

1. Open the /config/config_global.php file in the root of the web site

2. Search CONFIG COOKIE, and then you will see the following code

// -------------------------- CONFIG COOKIE -------------------- ------- //

$ _config ['cookie'] ['cookiepre'] = 'FGGg_';

$ _config ['cookie'] ['cookiedomain'] = '';

$ _config ['cookie'] ['cookiepath'] = '/';

This time we $ _config ['cookie'] ['cookiedomain'] = '';

Changed to my forum domain name $ _config ['cookie'] ['cookiedomain'] = 'www.76o.com';

As shown:

Note: Here cookiedomain set the domain name for your site's main domain If the main domain is different, $ cookiedomain is absolutely not set

Then save on the line. Has been very popular, if you do not understand, you can ask me!

This article was originally published by Huang Kun blog, the original address: http: //www.jmdrkj.cn/308.html A5 webmaster network, reproduced, please indicate the source!

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.