to have more than one session variable available, do the following...
<?php
if (!session_id()) session_start();
if(!isset($_SESSION["numberone"])) {//if session 'name' hasn't been set
$_SESSION["numberone"] = "10"; //set session 'name' to a value
}
if(!isset($_SESSION["numbertwo"])) {
$_SESSION["numbertwo"] = "5";
}
?>
you can have many session variables and many recordsets on a page.
you can use the session variable as a filter parameter in your recordset when you do the recdorset binding