pay pal ipn validating custom var

Advert test
Hi have quick question but prob wrong section. Have data passing to PayPal custom field (session var) but how can I check that session var and return var are the same. I think PayPal kills session? Clarification would be awesome!? Move q if appropriate