Clear Vanilla Cookie
Hi Shawn,
I am new to GitHub and I dont know where to put question regarding your laravel-vanilla-integration application. So, this is a question rather than an issue. I have used your application on one of my site and it was really a great help to me. I want that when the user has logged out in the main site and so in the vanilla forum. How am I supposed to that?
I have seen this on your notes and I thought this could be the answer.
To force Vanilla to clear its authentication cache use the following code to drop its cookies:
setcookie("Vanilla", "deleted", time() - 1,'/', "", false); setcookie("Vanilla-Volatile", "deleted", time() - 1, '/', "", false);
If it is, where the I put these code?In the main site or vanilla?
Thank you
You can put that code in your application's logout method. That should invalidate your vanilla auth.
On Wed, Mar 6, 2013 at 8:36 AM, johnvic [email protected] wrote:
Hi Shawn,
I am new to GitHub and I dont know where to put question regarding your laravel-vanilla-integration application. So, this is a question rather than an issue. I have used your application on one of my site and it was really a great help to me. I want that when the user has logged out in the main site and so in the vanilla forum. How am I supposed to that?
I have seen this on your notes and I thought this could be the answer.
To force Vanilla to clear its authentication cache use the following code to drop its cookies:
setcookie("Vanilla", "deleted", time() - 1,'/', "", false); setcookie("Vanilla-Volatile", "deleted", time() - 1, '/', "", false);
If it is, where the I put these code?In the main site or vanilla?
Thank you shawn.
— Reply to this email directly or view it on GitHubhttps://github.com/ShawnMcCool/laravel-vanilla-integration/issues/1 .
Shawn McCool | Big Name [email protected] heybigname.com
Hi Shawn,
Thank you for the quick response. Will apply it now and let you know the result.
Hi Shawn,
I have put the code at logout method in my laravel application and it is not working sadly.