Ip Check and Redirector Script


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. [url removed, login to view])

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: .NET, ASP, Javascript, webMethods

See more: tries com, script ip address, ip address script, 4 tries, ProC, locks, check for connection, asp sql connection, http redirect page, output script, javascript connection, javascript error null, javascript null, session script, script france, sql server 2012 classic asp, script aspx, asp classic sql server connection, asp redirect script, aspx page include, javascript add rows, classic asp sql 2012, classic asp sql server 2012, execute sql script, server check

About the Employer:
( 1 review ) Sandton, South Africa

Project ID: #1559768

8 freelancers are bidding on average $159 for this job


I can start this task immediately. I have 10 years experience with asp and asp.net.

$60 USD in 1 day
(8 Reviews)

check inbox for my solution

$200 USD in 1 day
(7 Reviews)

I can help you, sir. thanks & best regards.

$120 USD in 3 days
(9 Reviews)

Hi, I am ready to start on that. Please refer the PMB. Thanks

$100 USD in 2 days
(6 Reviews)

Hi!! I am ready for you project. I am expert of asp classic and asp.net.I can assure you, I can provide you something more than your expectation & build a strong business relationship for future. Hope, I get a chance f More

$120 USD in 2 days
(6 Reviews)

Please Check your PMB..

$300 USD in 7 days
(1 Review)

Having 6 years of exp in Classic ASP and ASP.Net

$175 USD in 7 days
(0 Reviews)

"I UNDERSTAND ALL YOUR REQUIREMENTS 100%", Dear Sir, We are having a team of technologies expert working in different technologies like php,Joomla, Smarty,.net, C with our company. We are fully Profession Company and b More

$195 USD in 6 days
(1 Review)