View Single Post
  #1 (permalink)  
Old Jan 18th, 2008, 15:34
mboston72 mboston72 is offline
New Member
Join Date: Jan 2008
Location: maine
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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: Select all
<%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: Select all
 
<!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
Reply With Quote