multi lanuage site.

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 :)
 
M

Mr. X.

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 :)
 
M

Mr. X.

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>
 

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

Top