Re: MySQL Locking Question
| From: | Rasmus Lerdorf | Date: | Sat, 06 Oct 2001 02:11:19 +0000 |
| Subject: | Re: MySQL Locking Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70174@lists.php.net to get a copy of this message | ||
> So once a user logs into a MySQL Server via PHP, if they don't logout, they
> stay logged in forever???????
Depends how you write your application. If you are using persistent
connections you log in and out of mysql durig a single request. If you
use persistent connections you log in once and leave the connection up
until the httpd process it is asscoiated with terminates. Your Apache
settings define how long an httpd process will live.
-Rasmus