Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
BrainCMS Logout Not Working
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lasers" data-source="post: 453772" data-attributes="member: 54363"><p>I've been searching for 2 days now and I cant seem to find the solution to this. When setting up BrainCMS (with PlusEmu) on a local pc, the logout button works perfectly, however when I make the same exact hotel on my VPS the logout stalls the /me page and essentially just reloads it. This makes logout impossible unless you clear your cache. Has anyone come across this issue and figured it out? Thanks for the help!</p><p></p><p>Code for logout.php:</p><p>[CODE]<?php</p><p> session_destroy();</p><p> $_SESSION = array();</p><p> header('Location: '.$config['hotelUrl'].'/index');</p><p>?>[/CODE]</p></blockquote><p></p>
[QUOTE="Lasers, post: 453772, member: 54363"] I've been searching for 2 days now and I cant seem to find the solution to this. When setting up BrainCMS (with PlusEmu) on a local pc, the logout button works perfectly, however when I make the same exact hotel on my VPS the logout stalls the /me page and essentially just reloads it. This makes logout impossible unless you clear your cache. Has anyone come across this issue and figured it out? Thanks for the help! Code for logout.php: [CODE]<?php session_destroy(); $_SESSION = array(); header('Location: '.$config['hotelUrl'].'/index'); ?>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
BrainCMS Logout Not Working
Top