I wouldn't expect the post to display anything, the forms post array only exists while the forms action page is loding. Once the action page is loded, the post array is deleted.
The session however should be working. the recordset is being filtered by the userID session variabel, so the recordset would not be able to work if the session doesn't.
This leads me to believe that the session is being cleared somewhere between line 49 where the recordset is created and line 207 where you are trying to display it.
try adding the php code:
die("user id: ".$_SESSION['UserID']);
at line 40, and testing to see if the session variabel displays or not, if it does, move it down the page 10 lines at a time to narrow down where in the code the session is being cleared.