Hi
Thanks, I overcame the problem doing it another way...
When script 2 asks for data from script 1, it now passes a PHPSESSID along with it, which as it happens is already stored in the database for that user.
Script 2 receives the phpsessid via
$sess = $_REQUEST['sessid'];
Then checks the database to see if its there, if not, no page,😉 if it is, page is shown!🙂
Not what I wanted, but pretty secure as the phpSessid is always changing.