Forum Moderators: open
I am entering the world of being an affilate and need to do the following:
1. Track requests to an internal URI
2. Map the internal URI to a partners page
3. Launch a new browser (like target="blank") for the partner page
I was thinking that using the Apache RewriteEngine would work but how to I force the new browser in the .htacess file?
Thanks.
but how to I force the new browser in the .htacess file?
You can't. The .htaccess functions server-side to redirect/rewrite URLs, whereas opening windows is strictly client-side and controlled by the browser. In order to open a new browser window, you have two options: use the
target="_blank" attribute on the link, or use Javascript to open the new window.
So what technique do you recommend to track requests that I send to partners and open them in a new browser?
I was tying to keep it simple - read: use only apache modules - but it seems like I will have to use PHP or some other server side technology.
I shy away from javascript because users can disable it - and i need the solution to be as bullet proof as possible.
-Adam