|
Hello all,
Okay - whats the best way to remove a cookie in PHP?
This is how Im doing it and some of my visitors say this dones't work for them.
----------
Cookie being set
--
setcookie("username",USERSNAME,time()+86400,"/",".mysite.com");
I am deleting it like this:
------
setcookie("username")
--
Pretty much I try to make it blank which logs the name out. But this doens't work very well.
Any ideas?
__________________
Please login or register to view this content. Registration is FREE - 100 Satisfied Customers - Custom Programming and Web Development
|