Ok sessions are easy to code...
session_start();
session_register("session");
our session name is session that can be form a $var meaning say we register the username of someone who joins
$username = "Paul";
$users=$username;
session_start();
session_register("users");
our session name isnt users but its paul..
so when we want to see what users equal we just print $users... and well get Paul.
Now that registering them. What about Checking them...
We have to use our Globals $_SESSION['users'] in this case users being Paul.
Now i havent checked this but it should work..
session_start("users");
if(session_is_registered['users'] && $_SESSION['users'] == $users)
{
//its ok.. there session is registered
}
else
{
//not registered transfer them somewhere
}
Now about servers and such.. Well i dont think its a huge issue really but as long as you do everything correctly...
So lets say we have Server 1 where the members are stored etc..
we'd have a file which is gonna be included on every server thats in the network...
So that would be on Server 1..
Then pretty much just echo out or do something thats exactly the same as on server 1 and you'll be write..
The only issue about this is Server 1 if it goes down your in trouble..
Just think whats gonna need to be involved in it..etc..
And you should be right. Id prefer if it was on the same server as itd be easier to set out etc... and only 1database would have to be used for the whole network.