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

XF 1.4 How to reset sessions ?

Recep Baltaş

Well-known member
#1
Hi, we have started using Sucuri service but they have made a "little" mistake of enabling fully caching and this led to users finding themselves in other people's accounts.

We have disabled caching and the problem seems to be solved but I want to make sure by resetting sessions.

How can I do that ?

Thanks.
 
Last edited:

Recep Baltaş

Well-known member
#4
Truncated the tables but I am still logged in. Any idea ?

I am admin. But I have also truncated Admin Sessions...

//Let's change the cookie prefix.
 
Last edited:

Mike

XenForo developer
Staff member
#5
If you chose the "stay logged in" option, you don't depend on the session. There isn't a bulk way to invalidate that.
 

Mike

XenForo developer
Staff member
#7
Well it will work by changing what XF reads, but it doesn't actually invalidate the old data. If someone has the old cookie value, they could still change the name on it and it'd work.
 

Recep Baltaş

Well-known member
#8
Since I am 100% sure that none of them know how to change it, it will work :)

Do I have to provide a domain name ? How should it be ?

Our web site:
Code:
https://www.technopat.net/
Forum:
Code:
https://www.technopat.net/sosyal/
PHP:
$config['cookie'] = array(
    'prefix' => 'xft_',
    'path' => '/',
    'domain' => ''
);