losing session vars when arriving from an email link

Posted on 16th Feb 2014 by admin

Hi,

I've got a confirmation script made that sends an email with a link for a user to confirm their email. This all works pretty good with the exception of not being able to direct them to where they were going before they verified.

For everything in the site I just use HTTP_REFERER which works great. I assumed I'd be able to do the same with this if I store it to SESSION. Providing the user doesn't close their browser I thought this should work? Apparently not though. My var is no longer there.

Any one have any advice?

Thanks

Other forums