Hi All,
I am getting it in the neck here for a problem which (I hope) is not my fault.
I have a login system for a number of schools. It uses cookies to store usernames & passwords. It all works fine for most schools but about 5 of them are having a problem. It seems that the cookies are just not setting.
The schools who are having a problem are all using the same hardware and software (which is different to all the successful schools) but they can receive cookies from other sites!!!
This is my cooie code:
if(isset($uname) && isset($pword)) {
SetCookie("username", "$uname", time() + 3600,"/",".mydomain.com",0);
SetCookie("password", "$pword", time() + 3600,"/",".mydomain.com",0);
}
header("location:/secure/welcomeframe.php3?scid=$scid&checklogin=Y");
Could this be a hardware/software problem, if so what?
Or is there something I could change in my cookie code to make it more consistent?
Any help would be much appreciated
Mike