where are the session variables being used that "it's not working"
"it won't work on my live web server" is a very broad statement, it can mean any number of things.
Please provide some more details, all i can really say is that it definitely wont work if the code to set the sessions is on the other pages like you have it, but i cant see what your doing with the sessions that isn't working