Country of origin in asp

  • Thread starter Thread starter Mettá
  • Start date Start date
M

Mettá

Hi

I would like to set page content to reflect where the user may come from
automatically.

Is there a fairly simple way to tell where web page requests are coming
from? (Site is on a Win2003 server)

i.e. something like (I know it not real)
<%If Request.ServerVariable(".HTTP_USER_ COUNTRY")="UK" Then %> ...

Thanks
M
 
Or http://www.devguru.com/Technologies/asp/quickref/asp_intro.html
Take a look at
http://www.devguru.com/Technologies/vbscript/quickref/GetLocale.html

--




| Here is a list available ASP Request Object ServerVariables Collection:
|
| http://raqxtr.sstar.com/caspdoc/html/asp_request_object_servervariables_collection.htm
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WEBMASTER Resources(tm)
|
| FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| ==============================================
| To assist you in getting the best answers for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
|
| | > Hi
| >
| > I would like to set page content to reflect where the user may come from automatically.
| >
| > Is there a fairly simple way to tell where web page requests are coming
| > from? (Site is on a Win2003 server)
| >
| > i.e. something like (I know it not real)
| > <%If Request.ServerVariable(".HTTP_USER_ COUNTRY")="UK" Then %> ...
| >
| > Thanks
| > M
| >
| > --
| >
| > http://www.MettaWeb.com
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top