[phplib] Cookies for login/logout problems From: Sanlong Irvan (sonicxtirvan <email protected>)
Date: 05/15/00

Hi all,

I have problems with cookies related to login/logout stuff.

I have already check in my cookies directory, when I login I can
see the cookies, SetCookie("user","cs331");

and logout using SetCookie("user"); when i logout I can see that
the cookies gone and redirect it my main login page.

But when I click on login again, It never ask for login/pass anymore.

Any idea why?... It's only works when I closed the browser.

Another things is,
Why php authentication password not working like htpasswd in linux/Unix?
if user never point to login page it never ask for login.

eg. if user go to www.mydomain.com/index.php it will ask for login, but if www.mydomain.com/chat.php it will never ask for
password (user never login before).

Should we check for cookies in every page to do this?

Thanks,
Irvan

-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html

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