Nullified Posted June 18, 2011 Share Posted June 18, 2011 How do I get the affiliate session data so I can port it over to the other pages on my site? I want to ensure that the affiliate data is not lost if the viewer leaves the whmcs directory and then goes back in. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted June 18, 2011 Share Posted June 18, 2011 take a look at the defined cookies, there should be one called "WHMCSAffiliateID" 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted June 18, 2011 Author Share Posted June 18, 2011 Where? I am just now getting into WHMCS 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted June 18, 2011 Share Posted June 18, 2011 You would reference it in your site code. You haven't really provided any details on what you're trying to do. 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted June 18, 2011 Author Share Posted June 18, 2011 Well it is from my understanding that "WHMCSAffiliateID" is only stored in the session that is called from within the WHMCS pages. What if the person visits pages of my site that are outside the WHMCS directory? I am trying to prevent the affiliate id from getting dropped. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted June 18, 2011 Share Posted June 18, 2011 cookies are stored on a per domain basis, and are persistent as long as they dont expire. default expiration is pretty long. 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted June 18, 2011 Author Share Posted June 18, 2011 so i really shouldn't need to do anything. thanks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.