I need to capture a session variable from a URL. This is so basic its embarassing.
"In addition to capturing the referralCode and retaining it as a session variable, you will also need to include logic in your download link as:
IF sessionVar ?referralCode? NOT null
THEN DownloadLink = http://www.myurlhere.com?referralCode=<referralCode>
ELSE DownloadLink =
http://www.myurlhere.com (or, you could go with another referralCode - a generic one"
What I've been reading is that I need to set a cookie and then drop some php. Any help here? Even if you send me to a working exmaple code I can figure it out.