This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Front Page > January 2005 > Country of origin in asp





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Country of origin in asp
Mettá

2005-01-29, 7:16 pm

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


Thomas A. Rowe

2005-01-29, 7:17 pm

Here is a list available ASP Request Object ServerVariables Collection:

http://raqxtr.sstar.com/caspdoc/htm..._collection.htm

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
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

"Mettá" <metta-remove@this-metta.org.uk> wrote in message
news:%233zumnkBFHA.208@TK2MSFTNGP12.phx.gbl...
> 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
>
>



Stefan B Rusynko

2005-01-30, 7:14 am

Or http://www.devguru.com/Technologies.../asp_intro.html
Take a look at
http://www.devguru.com/Technologies.../GetLocale.html

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Thomas A. Rowe" <tarowe@mvps.org> wrote in message news:%23HERwAlBFHA.1292@TK2MSFTNGP10.phx.gbl...
| Here is a list available ASP Request Object ServerVariables Collection:
|
| http://raqxtr.sstar.com/caspdoc/htm..._collection.htm
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WEBMASTER Resources(tm)
| http://www.ycoln-resources.com
| 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
|
| "Mettá" <metta-remove@this-metta.org.uk> wrote in message
| news:%233zumnkBFHA.208@TK2MSFTNGP12.phx.gbl...
| > 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
| >
| >
|
|


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews