add this to config.inc.php and your browser remembers the hostid or groupid (everywhere in the webfrontend).
cheers'
thomas
Code:
session_start();
if ($_GET['groupid'] != "") // group id changed
{
$_SESSION['groupid'] = $_GET['groupid'];
}
else // set groupid by rememberd value
{
$_GET['groupid'] = $_SESSION['groupid'];
}
if ($_GET['hostid'] != "") // host id changed
{
$_SESSION['hostid'] = $_GET['hostid'];
}
else // set host id by rememberd value
{
$_GET['hostid'] = $_SESSION['hostid'];
}
thomas


Comment