Re: Simple SQL with MySQL - performance
| From: | Daniel Convissor | Date: | Tue, 17 Oct 2000 13:33:50 +0000 |
| Subject: | Re: Simple SQL with MySQL - performance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20631@lists.php.net to get a copy of this message | ||
Hi Benji:
> 1) the user goes to the site, and logs in. They are issued a random ticket
> (a cookie).
Cookies suck. They rely on the user accepting them, or being able to accept
them at all. So, you're best off storing the session id in the URL's query
string.
> At some
> point their session expires (just because they love the site and stay long
> enough).
That's weird. Why inconvenience your users like that? The timeout should be
based on the time since the last hit, not the first hit.
Enjoy,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409