Hi everybody,
I am trying to use cookies and it works but I can not delete
them after that I am doing this to setup the cookie:
if ((!isset($strUserName)) || (!isset($strUserPassword))) {
setcookie("strUserName",$entered_login,time()+14400,"/","domainname",0);
setcookie("strUserPassword",$entered_password,time()+14400,"/","domainname",0);
}
and I am using this code to delete which I got from
http://hotwired.lycos.com/webmonkey/00/05/index2a_page5.html?tw=programming
setcookie("strUserName","",time() - 28800,"/","domainname",0);
setcookie("strUserPassword","",time() - 28800,"/","domainname",0);
basiclly this will set the value null to the cookies
its NOT working any idea
I want to use sessions but I am new to both sessions and cookies
any idea or help will be great guys
please help.........
thank you in advance
😕