I have a problem with my system, not sure how I can fix this one. A user has
a log in page and takes them to different pages, now each of these pages has
a check to make sure they are logged in with the following code:
session_start();
if (!(isset($_SESSION['username']) && $_SESSION['username'] !=
Its only happening in safari with the cookie not being set. It must be my
cookie string that is the problem. I just cannot find anything on the issue.
My other major issue is the fact that the session is being set when the post
has not even been declared, its just setting the session?
Safari browser will not accept my cookie it is ignoring it? have I done
something wrong with how the cookie is presented for safari??? The cookie I
try to set: setcookie('peg', 'YES', 'time()+190', '', 0); Also all browsers
are starting my phpsession off when its not even declared until after the
p
I have a login script that is great and I want to expand on this but not
sure where to place my new code I have written, I have placed it where I
thought but keep getting errors for else and others when attempting to add
this.
The code I am adding is not complete and will change, but I want to lea