I'm not sure. I don't know all the details on sessions if they work domain wide or if they are limited to certain directories. If they are limited to the directory they are created within then that is probably the reason as the session variables can't be accessed from a different directory.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.