What a star you are!!
Finally got it working.
I have used the following code to reset the session on the secure server:
I have put this code at the bottom of the checkout page:
<?php if(isset($_POST['job_id'])) $_SESSION['PBksID']=$_POST['job_id']; ?>
Is that correct? or somewhere else?