Thnx, you've got a point, though i just discovered this:
Customer comes back from PayPal; session_id is different than what it used to be.
Refresh the page, session_id keeps changing.
This is a page that says: 'Thanks for ordering', with a button that goes to download page.
On the download page, i check session_id and it matches the id in my table!
This is weird, the session_id changes, then reverts back to the original session_id, which, in the table keeps track of all the data.
And the email thing i talked about, happens before this download page, with the wrong session_id, so the email's empty!
thefisherman