Hi there. I have some problems regarding the Cookies problem, hope you guys can help me to solve it.
I had created a member authentication form for member login purpose. At the same time I had set a cookie to their local PC so that every time the member browse the "member-only" section, the cookie is checked to make sure that the user is still login.
Now here's the problem, when the user logout, I wish to delete the cookie, so that different users can login with their own username in the same local PC. What I did is add the code below to my PHP3 script:
setcookie("fmusername","");
It works in IE, but Netscape. So I try another way to writing the above code:
setcookie("fmusername","",time()+0);
Same thing happens.
That's my problem, and I will be very appreciate if someone can help me to solve this problems.....
SK