and how about

login:

<?
  if (mgd_auth_midgard($username.$SG,$pass,1)){
   $midgard=mgd_get_midgard();
   header("Location: /");
  }
}
?>

<?
function logout (){
<?
SetCookie("MidgardLogin","0", "", "/");
   header("Location: /");
}
<?

However at my site <meta...Refresh> with timeout set - zero works better 
than header()

Solt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to