I'm trying to code a user login/auth system. It works on a mysql backend using cookies. It sends a cookie to the user, then checks on pages that are protected to see if the cookie exists...
I set the cookie using:
SetCookie("uketrade", "$user_id-$encryptedpassword", time()+3600);
Now for some reason, this worked fine on IE last week, but now my program no longer appears to send any cookie, (or IE rejects it). Im using IE 5.00. Ive tested my code using the lynx browser so I can see my code is sending the cookie, the login system also works fine with lynx. So it appears the problem is with IE (surprise). My question is, firstly, is this a known problem with IE rejecting or ignoring cookies? and secondly,
How can I change my code to fix the problem?
This is driving me insane, it seems one day I fix the problem, the next day it doesnt work again!
Any help is appreciated.