why use javascript for your redirection?  wouldn't cflocation be better (as
it'll work with browsers that don't have Javascript enabled):

<cfif request.language is "english">
     <cflocation url="http://www.araxi.fr/index.cfm?&language=french";>
</cfif>

where does request.language come from?  I thought you were going to have to
use that CGI.HTTP_Accept_Language variable




                                                                                       
                             
                    [EMAIL PROTECTED]                                                  
                                
                    ting.co.uk            To:     [EMAIL PROTECTED]                    
                   
                                          cc:                                          
                             
                    12/05/2004            Subject:     RE: Re: [ cf-dev ] setting 
language to browser language      
                    18:16                                                              
                             
                    Please respond                                                     
                             
                    to dev                                                             
                             
                                                                                       
                             
                                                                                       
                             



Found the magic!

Here's the final code:
<cfif request.language is "english">
<script type="text/javascript">
{
if(navigator.userLanguage.indexOf("fr")!=-1)
     location.href="http://www.araxi.fr/index.cfm?&language=french";;
}
</script>
</cfif>

thanks,
Shawn





                     This message has been sent from CFdeveloper with
username sfawcett ([EMAIL PROTECTED])


--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]






-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to