Yup. Thanks. How do I reliably determine the country from the IP address realtime. I think that the tricky part. Is there a CF tag that will do that for me?
Srimanta ----- Original Message ----- From: Scott Brady <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 4:01 PM Subject: Re: Redirection based on IP address. > 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 Get the mailserver that powers this list at http://www.coolfusion.com