multi lanuage site.

  • Thread starter Thread starter Mr. X.
  • Start date Start date
M

Mr. X.

Hello,
I have a site, that is represented on English as well on Hebrew.

I need that :
The last language will be stay the default one (if the user opened the
Hebrew site - the default will be Hebrew. The same for English).

Also, I have alias for the site (main is *.org, and the alias is *.org.il).
Can I know how the user openned the site :
by *.org url or *.org.il url) ?

Thanks :)
 
I didn't understand Request.ServerVariables["HTTP_HOST"]

Can you give me an example, please.

Should the solution be only for aspx ? or I can do a simple HTML ?
What is the default page that ends with *.aspx extension ?

Thanks :)
 
What is wrong of the following :

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script type="text/javascript">
function display_alert()
{
alert("<%Request.ServerVariables["SERVER_NAME"]%>")
}
</script>
</head>
<body bgcolor = "lightblue" onload = "display_alert()">
</body>
</html>
 
Back
Top