could be a php error occurring.
add the following code at line 1 on your page:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
post back any errors that are displaying and a copy of your page.
as for the speed, the session test page was very slow to load, so I dont think it has anything to do with the recordsets. you will need to talk to your host to see if anything can be done for the speed of the site.