<?
require_once("config.php");
$gm = new GMailer();
$gm->setSessionMethod($session_method);
$gm->disconnect();
header("Content-type: text/html; charset=utf-8");
header("Pragma: no-cache"); // stop caching
?>
<script>
function SetCookie(cookieName,cookieValue) {
document.cookie = cookieName+"="+escape(cookieValue);
}
SetCookie('PHPSESSID', 0);
location = 'index.php';
</script>