Not real sure I understand. Do I need to set the cookie as secure so it will pass over https? If so, how I do I do that with what I have already?
I have also tried using sessions. Can you explain this to me?
if I have the referral link come from any site to my site using https://secure.mysite.com/step_one.php?referrer_id=20 and store that variable as a session var on step_one.php using:
session_start();
$_SESSION['referrer_id'] = $referrer_id;
$referrer_id = $_SESSION['referrer_id'];
The number 20 will display in the refferer text box. I can then also pass it to any other page on the site using:
<? $_SESSION['referrer_id']; ?>
When I go back to step_one.php where I was originally when the session was started, the variable $referrer_id (20) is still there.
Now if I have the referrer link set to this:
http://www.mysite.com/index.php?referrer_id=20 and store it has a session variable the same way as in step_one.php, I can print it to the screen as well. However once I try to pass it over https:// it gets lost.
Why can I send it from https to http and back to https, but not from http originally to https??
Thanks for your help.