Click to See Complete Forum and Search --> : Dynamic Redirect Script


fredrickb
07-26-2003, 12:55 PM
I am starting an affiliate program that provides each reseller with their own URL to advertise our services.

I need a redirect script to be put on our index page to force visitors back to the url of the reseller they origingally visited.

The url assigned to the reseller is something like www.ourdomain/order/RESELLERID

The reseller id is stored in a cookie.

If there is no Cookie stored, I need the page to be redirected to another page we can specify.


Thanks

Nevermore
07-26-2003, 02:08 PM
Because JavaScript doesnt work for everyone, you might want to use a server side script, e.g. ASP/PHP.
Does your server support any of these?

fredrickb
08-02-2003, 02:47 PM
Yes it does support PHP