Jason sorry I didnt explain myself correctly. what I mean is what if the customer gets to paypal, then pays for the transaction once the payment has gone through, then they use the "browser back button" (rather then use the link on paypal to return to the website.
is there anything I can do on the confirm.php page just before the customer clicks on the confirm order button so that it clears any sessions before it goes to paypal site.