Re: RE: connection_aborted was [PHP] trikky authentication question
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: RE: connection_aborted was [PHP] trikky authentication question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149712@lists.php.net to get a copy of this message | ||
On Sun, 1 Jun 2003 daniel@electroteque.org wrote:
> how can i get this to work ??
>
> if (connection_aborted()) $this->db->query("UPDATE users SET logged_in=0
> WHERE userID=$this->userID");
Did you read the connection handling chapter in the manual?
http://www.php.net/manual/en/features.connection-handling.php
-Rasmus