
January 18th, 2008, 11:18 AM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 2
Time spent in forums: 5 m 51 sec
Reputation Power: 0
|
|
|
Asp code in XHTML displays English, then switches to a different language
Hello, I have the following asp code inserted in an XHTML file:
Code:
<%Response.Write(FormatDateTime(Date, 1)) %>
It works fine for a few minutes, & displays the date in English, but then after visiting other pages on the site, it changes to a different language. Activity seems to cause it to occur, as I stayed on the index.asp for a few hours & it stayed English. Then after a few moments of visiting other pages it switched again. Once it switches, all pages with the same code display it in that language, even ones that moments earlier displayed it in English. It happens in both IE & FireFox. The pages are coded with XHTML 1, & given an asp extension.
This is the doctype & language info:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "(URL address blocked: See forum rules)">
<html xmlns="(URL address blocked: See forum rules)" xml:lang="en" lang="en">
Thanks,
Mark
|