Assuming you can reliably determine which IP addresses go with which country, it 
should be fairly easy using CGI.remote_addr (which gives you their IP address).

Of course, what if an Australian user is on vacation in the US and wants to see the 
Australian page?

I'd suggest still giving the users the option to go to other country pages (so the 
aforementioned Aussie will initially get the US page but can switch go the Australian 
pages [and keep the preference with a cookie/session variable]).

Scott
--------------------------------
Scott Brady
http://www.scottbrady.net/

 
             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to