PDA

View Full Version : Removing additional cookie with logout


mdoliwa
03-14-2013, 06:32 PM
I'm doing some external app and trying to integrate it with my vb4 forum.
Now when I log out from forum, I'd like to remove one additional cookie from the same domain.

Where is the code responsible for this?

kh99
03-14-2013, 07:36 PM
Check out includes/functions_login.php, function process_logout() around line 456. Looks like you could use hook logout_process to do what you want.

tbworld
03-14-2013, 09:19 PM
If you use the same prefix for your cookies as you gave in your config.php, I believe it processes the cookies via the prefix name and will clear the cookie for you.