I'm looking for a working default.aspx/default.aspx.
cs in ASP.NET for a page which gets the visiting users IP and if it falls within these IP range the user is redirected to a URL, if it falls outside of these IP range then the user is forwarded to a different URL.
Get Users IP
Is the Users IP in the range e.g. 10.1.0.0 to 10.6.255.255
If yes, redirect to http://www.yahoo.com
redirect to http://www.msn.com
Any help with this will be appreciated, i'm useless at programming and need all the help i can get ASAP.