Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Force Logout/Expire Old Cookies
#1
Not Solved
I recently made some changes to the cookie settings and have noticed that it requires all of my users to delete their old cookies.

Is there a script that can be used to automatically remove their old cookies or replace it with the new one? At the moment, if you do not delete your old cookie, it keeps you stuck on logged in (logout button redirects you but doesn't actually log you out).

Thanks in advance

Edit: Would anything from here be of use? http://userscripts.org/topics/20571
[Image: scroll_sig.png]
[Image: lgz_sig.png]
#2
Not Solved
Clean the database? mybb_cache
#3
Not Solved
(2013-05-02, 09:55 PM)Master Mind Wrote: Clean the database? mybb_cache

That's entirely different than browser cache, which I assume you're thinking of.

But as for the OP's question, I don't have an answer myself.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
#4
Not Solved
(2013-05-02, 09:55 PM)Master Mind Wrote: Clean the database? mybb_cache

I've already tried clearing mybb_sessions, it doesn't help. I need some way to force a logout or expire the user's cookie. Unfortunately, MyBB sets cookies for one full year so the problem won't fix itself anytime soon.

I've tried also adding a prefix to the cookie (in an attempt to rename the cookie and deem the old one useless) but it didn't work. I guess what I'm looking for at this point is a script that will eat their old cookie.
[Image: scroll_sig.png]
[Image: lgz_sig.png]
#5
Not Solved
check this http://community.mybb.com/thread-113435.html


Forum Jump:


Users browsing this thread: 1 Guest(s)