2 # don't check for a cookie -- would be really silly to require a 3 # login before allowing logout. 5 $monLibrary= dirname(__FILE__) .
"/../library";
6 require_once(
"$monLibrary/cu_top.i");
9 # Parse the variables to be used 12 $cu = preg_replace(
"/[^A-Za-z0-9]/",
"",$_GET[
'cu']);
13 $cu = substr($cu,0,12);
15 # set both the ticket cookie and the return-address cookie to null values 18 HCU_setcookie_env($SYSENV,
"HCUTicket",
"", $now);
19 HCU_setcookie_env($SYSENV,
"Tx_hURI",
"",$now);
25 location.replace(
'$href');
31 cu_header(
"Logout Monitor");
32 print <<< print_logout
33 <table align=
'center' cellpadding=
"3" cellspacing=
"0" border=
"0" width=
"500" class=
'dmsbg'><tr><td>
34 <table cellpadding=
"1" cellspacing=
"0" border=
"0" width=
"100%" bgcolor=white>
36 <td colspan=
"2" class=
"bar" align=
"center">
41 <td nowrap align=
"center" class=
"hdr">
42 Thank you
for using HomeCU Monitor.<br>
43 You have successfully logged off.<br>
44 <a href=
'$produrl/monitor/mindex.html'>Return to Monitor</a>