[phplib] Amazon.com-type login From: Paul Smith (paul <email protected>)
Date: 01/08/01

I've asked this before in some form, but it was before the holidays and in
the middle of trying to wrap up other development, so I never got around to
digesting it. So let me pose it again, especially now that I know a bit
more:

I'm trying to create an Amazon.com-style login system. I.e., You're
remembered when you return (through a cookie) if you're a registered,
logged-in user; if you're new, you're asked to register, but not forced to
for browsing, so no login page until necessary.

Now, I understand the general issues: default auth for setting new users to
"nobody", and I know I need to set a long-term cookie with the UID that
refers to the auth_user table. What I need advice on is where in the flow of
PHPLib do I set the cookie and look for a cookie, and also what I need to
modify in local.inc (and elsewhere?) to make this happen.

Thanks up front.

Paul

---
Paul Smith | InfoTech Designer
Center for Neighborhood Technology
www.cnt.org | paul <email protected>
773.278.4800 x138

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>