Hi I'm doing a website and I uses PHP cookies to make a login, I try in Firefox and nnot problem, but when I try it in Internet Explorer 7, the PHP cookie don't work This is my website: http://www.howdoigetridofdebt.org/admin/ The username and pass is: admin I hope that someone could help me to fix this cookie error in Internet Explorer
Hello rdlrn19, IE7 doesn't save cookies with short expiration times. eg: 30 mins, 1 hour, etc. So change your cookie expiry time to 1 day cookie and it will work fine with every browser. IE7 doesn't save short time expire cookies. Gonzo
There's no such thing as a "PHP cookie". PHP creates cookies using the http header protocol, and the cookies are not different than any other cookie created any other way.
you must not use cookies in storing valuable variables, please use session for this.. in storing usernames, passwords, etc.theres no point in altering or controlling the behavior of a cookie in every browser, because that is a security feature for every browser.