
18 Apr
2004
18 Apr
'04
2:46 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi On Sunday 18 of April 2004 19:53, Olivier Mueller wrote:
if(!isset($_SERVER["PHP_AUTH_USER"]) || ("logout" == $cmd && ! $logging_out)) { if("logout" == $cmd) { setcookie("logging_out", "1"); } header('WWW-Authenticate: Basic realm="Theseus"'); header('HTTP/1.0 401 Unauthorized'); header("Status: 401 Unauthorized"); echo "You have to authenticate<br>"; exit; }
Do I understand that this is logout for HTTP mode that uses cookies? - -- Regards Michal Čihař http://cihar.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAgtq53DVS6DbnVgQRAnzxAJ9/SojXguk4M7WpGPsMsW9gngOZ4ACeJtHt sUji3hM0ClZUvW5Bqc93tcg= =sP17 -----END PGP SIGNATURE-----