Passing affiliate ID on ANY url, friendly url's and query string together |
[eluser]Unknown[/eluser]
My apologies if this has been asked already, but I cannot find the answer. I am currently running a site using CI friendly urls and everything is peachy. I'm adding an affiliate system, and would like members to be able to pass in their affiliate IDs using ANY url. eg. http://www.mysite.com/controller/method1...2?a=123456 OR http://www.mysite.com/controller/method2?a=123456 etc. Where 123456 is their ID. I figure this would be easiest to accomplish with the query string, and having every controller check for it when it loads, and set a session variable. Reading the user's guide, it seems like it is only possible to use either the query string or friendly URLs, not both. Has anybody accomplished something similar to this and care to share their solution? Or at least point me to an appropriate thread which discusses the topic? Thank you kindly in advance. |
Messages In This Thread |
Passing affiliate ID on ANY url, friendly url's and query string together - by El Forum - 03-05-2009, 07:52 PM
Passing affiliate ID on ANY url, friendly url's and query string together - by El Forum - 03-05-2009, 08:12 PM
Passing affiliate ID on ANY url, friendly url's and query string together - by El Forum - 03-05-2009, 09:40 PM
Passing affiliate ID on ANY url, friendly url's and query string together - by El Forum - 03-05-2009, 09:43 PM
Passing affiliate ID on ANY url, friendly url's and query string together - by El Forum - 03-06-2009, 02:07 AM
|