![]() |
Logout needs to destroy custom session and cookies....
Hi,
I made a custom login script which logs into vbulletin and my review script. While logging into vb, it sets some session variables that the review script uses. When logging out of vb, I need to delete my custom sessions. Here's an example of one of my custom sessions: PHP Code:
Thanks, Tim |
I am also interested to know how to destroy ALL sessions created by the site, either from vb or other scripts on vb logout.
Good news. I found the solution at http://us3.php.net/function.session-destroy you have to put the code before the redirect in login.php (section do logout) , and that will destroy all sessions |
All times are GMT. The time now is 01:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|