Housekeeping Session

Jxck

got that old thing back
Apr 5, 2014
135
34
I'm using RevCMS and @Sledmore's HK edit. Whenever I use the logout.php script the session in_HK closes which is how it should be, however it also ends my current CMS session which I don't want it to do. I want my HK session to be separate from my standard RevCMS session.

Can anyone advise me on how to change this?
 

Jxck

got that old thing back
Apr 5, 2014
135
34
Positive I'm out at the minute but the logout script unsets the "IN_HK"


EDIT:

Here is the exact logout.php script:
PHP:
<?php

require_once "global.php";

if($_SESSION["in_hk"] == true)
{
    session_unset($_SESSION['in_hk']);
    header("Location:".$_CONFIG['hotel']['url']."/ase/index.php?url=login");
}
else
{
    header("Location:".$_CONFIG['hotel']['url']."/index");
}
?>
 
Last edited:

Users who are viewing this thread

Top