Re: [PHP] RE: connection_aborted was [PHP] trikky authenticationquestion

2003-06-01 Thread Rasmus Lerdorf
On Sun, 1 Jun 2003 [EMAIL PROTECTED] 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?

RE: [PHP] RE: connection_aborted was [PHP] trikky authenticationquestion

2003-06-01 Thread Rasmus Lerdorf
?? Are you reading that chapter at all? Closing the browser has absolutely nothing to do with aborted connections unless the browser is closed while data is actually flowing across the wire. You are completely on the wrong track here. HTTP is a simple stateless protocol. Sessions can be used