PDA

View Full Version : Need a cookie recognition / redirect code


blogsdiaz
11-04-2009, 05:34 PM
1) Project Details: (be as specific as possible):


Hello.

I need a basic script to recognize a user's cookie and direct him to a certain link when he click.

Basically...I want the visitor who enters domain_Z.com to be recognized via cookie and when he clicks on xxx.html link, he will be taken to domain_X.com but if he entered via domain_Y.com then when clicking on the same xxx.html link, he will be taken to domain_W.com instead.

2) Payment Amount: 0-$99

3) Payment method/ details (Paypal, check? Timeline?): Check or paypal - End of November 2009

4) Additional Info (about project or potential bidders): I do not have server access for my client - they have me email everything to them but I can maybe test it on my own server.

Rowsdower!
11-04-2009, 05:55 PM
Does this need to be a cookie? If not you could implement a check with HTTP_REFERRER. The referrer could technically be faked by a user, but if this isn't a security issue then it wouldn't matter and it would still work for users with cookies disabled...

sandip.barot
11-05-2009, 12:42 PM
Hi

I am interested in your task. I have some basic question related to that task, which can help me for develop better way.

1) In which language u want to develop it? PHP or ASP or .Net?
2) Where you want to use that script? Means is there any existing page where you want to integrate or it is a new page?
3) If it is a existing page then can you give me details about it?


With Kind Regards,
Sandip
1) Project Details: (be as specific as possible):


Hello.

I need a basic script to recognize a user's cookie and direct him to a certain link when he click.

Basically...I want the visitor who enters domain_Z.com to be recognized via cookie and when he clicks on xxx.html link, he will be taken to domain_X.com but if he entered via domain_Y.com then when clicking on the same xxx.html link, he will be taken to domain_W.com instead.

2) Payment Amount: 0-$99

3) Payment method/ details (Paypal, check? Timeline?): Check or paypal - End of November 2009

4) Additional Info (about project or potential bidders): I do not have server access for my client - they have me email everything to them but I can maybe test it on my own server.