Re: Serving a different website based on source internet address ?
- From: "Mike Lowery" <selfspam@xxxxxxxxxxxxxxxx>
- Date: Wed, 30 Aug 2006 07:49:38 -0700
"Skybuck" <skybuck2000@xxxxxxxxxxx> wrote in message
news:1156886161.001179.233460@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
Based on the source internet address a different version of the website
should be presented/served to the user/browser.
For example in pseudo code:
if SourceAddress = '143.3.5.1' then
begin
ShowBlueWebsite; // Load/Show BlueIndex.htm
end else
if SourceAddress = '124.5.15.7' then
begin
ShowRedWebsite; // LoadShow RedIndex.htm
end;
Is this possible with visual basic dot net ? is there any source code
available to do this trick ?
You should be able to do this by writing an HTTP handler. Here's a quickstart:
http://www.asp.net/QuickStart/aspnet/doc/applications/httphandlers.aspx
.
- References:
- Prev by Date: Re: how to get parent control of the context menu stip
- Next by Date: Re: visual basic 2005 database application
- Previous by thread: Serving a different website based on source internet address ?
- Next by thread: How to dynamically instantiate a base calss (w/ args to constructor?)
- Index(es):
Relevant Pages
|