cfset in html page
I have an html home page but wish to add some cf (CF9).
So I change the page name to index.cfm and add at line 1 :
<cfset arAcceptLanguage = GetPageContext().getRequest().getHeader("Accept-Language")>
This is later used by a javascript function.
It works fine and the browsers show everything correctly and all the javascript runs no problem.
But now some spiders cannot access the page. They get an error 500 and the error is
Error Occurred While Processing Request Variable ARACCEPTLANGUAGE is undefined.
The website is www.booxotel.com and the spider simulator I used is at
http://www.webconfs.com/search-engine-spider-simulator.php
Can anybody offer any clues how I can solve this?
Doug
