Date: 03/29/00
- Next message: Gary Bickford: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Previous message: Gary Bickford: "Re: [PHPLIB] Problem with GET, POST"
- In reply to: Florian Dittmer: "[PHPLIB] Is there a function to authentificate?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
That's how it should work if everything is set up correctly. The default example
I believe has a 15 minute timeout, but I don't recall for sure. Check out the
overridden auth class in local.inc. There's two functions there, auth_loginform()
and auth_validate_login(). When the person first registers and logs in, a cookie
is stored on their machine (unless there is a problem with cookies, such as the
user has turned them off - then it uses GET variable to accomplish the same thing)
Or are you setting your own cookies, outside PHPLib?
Florian Dittmer wrote:
> Hallo,
>
> is there a function with which I can "log in" a user automatically without
> using the form?
>
> Example: I have stored the password and username on the clientside as a cookie,
> and when the user calls my page it should work like this:
>
> Check for cookie "Page_Username" and "Page_Password" set...
> if YES: Call a function to auth with this information automatically
> if NO: Just coninue loading the page without auth.
>
> Greets
> Florian
>
> --
> Florian Dittmer
>
> eMail: nuku <email protected>
> Web : http://www.nuku.de - http://www.zork.nu
> Chat : nukunuku97 (aim) - 2901888 (icq) - nuku (ircnet)
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.
--
"Cyber is cyber, life is life."
Gary E Bickford mailto:garyb <email protected>
FXT Corporation http://www.fxt.com/ tel:541-383-2749
mail:PO BOX 1808, SISTERS OR 97759 ship:66265 JERICHO ROAD, BEND OR 97701
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Gary Bickford: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Previous message: Gary Bickford: "Re: [PHPLIB] Problem with GET, POST"
- In reply to: Florian Dittmer: "[PHPLIB] Is there a function to authentificate?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

