Ok it seems to be working, sort of... here's the problem I get now:
When I use this code:
session_start();
if($SESSION["user"] && $SESSION["password"]) {
echo "Session detected: User: $user Password: $pass";
}
else {
... session_register section ...
}
The output I get is this:
Session detected: User: Password:
So it seems to detect that the sessions are there - but they no longer have a value - am I missing something here?
Thanks in advance,
Ben