When creating a link, use the moodle_url class to create the url

new moodle_url('signup.php', array('s' => $session->id, 'backtoallsessions' => $session->facetoface)