Ip Check and Redirector Script

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
I need a web page redirector script that will be compatible for me to INCLUDE on classic ASP landing pages as well as add to masterpages on ASPX landing pages:

1. Take value on the querystring (eg.?btag=TEST) as well as the IP address (refer_ip) as inputs to an SQL2005 stored proc
2. Open connection to the SQL server and execute stored proc with the 2 inputs above
3. The output of the proc will return 3 values:
a. RedirectUrl
b. Country
c. SubID
4. If rows are returned, then only return Top1:
a. it must redirect to the RedirectURL that is returned
b. As well as pass the other 2 additional output values into the querystring together with the initial btag value(eg. http://redirect.com/?btag=TEST&country=france&subid=123)
c. Close all DB connections etc
5. If NO rows are returned OR values are NULL then:
a. Close page and close connections

1. The script must only run ONCE within the same session, else it may cause looping issues
2. If there are SQL connection issues OR locks, there must be no error pages returned and the script must allow for a maximum of X amount of tries before it closes

Skills required:
.NET, ASP, Javascript, webMethods
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 60
in 1 days
$ 200
in 1 days
Hire guiqul
$ 120
in 3 days
Hire Jaipawan
$ 100
in 2 days
Hire RashidCh
$ 120
in 2 days
$ 300
in 7 days
$ 195
in 6 days
Hire anupdimri
$ 175
in 7 days