The code looks correct to me, but it is easy to overlook something when trying to debug code by looking at a word document. Perhaps there is an issue with the session variable settings on the new server? If you send me FTP access then I could debug the actual pages and probably give more information.