How to have Main Site log out from embeded Vanilla Forums

dlefflerdleffler New
edited December 2011 in Vanilla 2.0 - 2.8

In the logout method of your main site, add the following lines where 'HOSTNAME' is your web address:
setcookie('Vanilla', ' ', time() - 3600, '/', HOSTNAME); unset($_COOKIE['Vanilla']);

Tagged:

Comments

Sign In or Register to comment.