|
Posted by Ric on 12/30/06 01:06
jcharth@hotmail.com schrieb:
> Hello I am using a webmail that authenticates against a pop server and
> then it keeps me login for 30 minutes. Can anyone tell me what happens?
> is a cookie set my login and password or some kind of hash? Just
> wondering. I wrote a program that did something like this. i created a
> hash in the password db that would match the hash in the cookie once
> authenticated and then match this cookie in every page later on with
> the hash in the db, but what if there is no db? i donwloaded a php
> webmail called eubimiau and would like to know what it does.
>
Just use a cookie with apropiate expire date, see:
http://php.net/manual/en/function.setcookie.php
Navigation:
[Reply to this message]
|