1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Reset Forum Cookies?

Discussion in 'XenForo Questions and Support' started by intradox, Mar 9, 2012.

  1. intradox

    intradox Well-Known Member

    Is it possible to reset the forum cookies to require any users currently with a session to log back in?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can't directly reset cookies on the client, but setting a different cookie prefix will have the same effect by invalidating all of the old cookies. Add this to your library/config.php file:

    $config['cookie'] = array(
    	'prefix' => 'xf_',
    	'path' => '/',
    	'domain' => ''
    xf_ is the default. Set it to something else. That should log everyone out.
    duydangle, intradox and Dean like this.

Share This Page