Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2006-09-14, 02:18 PM   #2
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
alter the url and keep the code within the url prior to the query string.

http://site.com/affiliatecode/blah/index.html

surfer's can't easily muck with it, and you know it is always there, sort of a prestate. If you're not using Tux or Zeus or some mass virtual hosting, you could always use subdomains -- i.e. http://affiliatecode.hostname.com/whatever/

caveat here is that you need to ensure that you never refer to a directory as http://site.com/dirname because apache will rewrite the entry to the default host. Not to say you can't write a mod_rewrite to overcome this behavior, but, every step you add for a webmaster, the more steps are there for tracking leaks.

To me, URL munging is the only way to do it as accurately as possible. Can't use cookies if you are traversing multiple domains unless you have webbugs on every page.

You could also do a safety check of the ip address/useragent as they bounce around, and possibly use a cookie as a third safety check. However, since the web is stateless, its all guesswork. Guesswork that can attain pretty high % of reliability.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:52 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc