PDA

View Full Version : Creating a login panel


fleetwoodmac
February 5th, 2007, 07:37 AM
I'm manipulating EveryAuction, and instead of contanstly logging in, I'm curious as to where or how can I get a script that will allow a user to log in only once (unless I code it otherwise) into a user control center or stuff.

degsy
February 5th, 2007, 10:22 AM
If you want to keep a user logged in then you would have to use a cookie.

in the cookie you would store their userID and an encrypted password or key to log them back in.

fleetwoodmac
February 5th, 2007, 08:35 PM
Yeah, but even with a cookie login, it still makes you sign in each time. The only thing is that the password and handle are filled out. What I mean to say, is there a way to bypass this so a person doesn't have to constantly have to sign in?

Buzz
February 5th, 2007, 09:20 PM
Set your cookie time to expire longer.

A cookie doesn't handle the filling in of the form. The autofill is a browser function.

The cookie should retain the actual login, making it so users don't have to log in each time. If it's not working either you are setting the cookie wrong or the user has cookies disabled in the browser.