Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 315F39032 for ; Thu, 22 Dec 2011 20:52:39 +0000 (UTC) Received: (qmail 66820 invoked by uid 500); 22 Dec 2011 20:52:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66651 invoked by uid 500); 22 Dec 2011 20:52:35 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 66642 invoked by uid 99); 22 Dec 2011 20:52:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 20:52:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 20:52:26 +0000 Received: from [192.168.245.129] (montserrat.wissensbank.com [212.85.37.175]) by tor.combios.es (Postfix) with ESMTPA id 5E3C6DA05B8 for ; Thu, 22 Dec 2011 21:52:04 +0100 (CET) Message-ID: <4EF3986E.2090303@ice-sa.com> Date: Thu, 22 Dec 2011 21:51:58 +0100 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: [OT] Displaying Time Zones for user preferences References: <4EF20CCF.9090309@christopherschultz.net> <4EF2327B.603@ice-sa.com> <99C8B2929B39C24493377AC7A121E21FB00C4971F5@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: <99C8B2929B39C24493377AC7A121E21FB00C4971F5@USEA-EXCH8.na.uis.unisys.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Caldarale, Charles R wrote: >> From: André Warnier [mailto:aw@ice-sa.com] >> Subject: Re: [OT] Displaying Time Zones for user preferences > >> Can you not use GeoIP to find out where a user is connecting >> from, and select his time zone automatically for him/her ? > > Not reliably. For example, it says my desktop PC is in Pennsylvania, when it's really in Minnesota (but then I'm actually in Ontario right now :-). What you'll really get back is the registered location of the ISP or company, not necessarily that of the actual client. > Well, in my case, when I am in Germany my ISP is a big nation-wide one (the one which AT&T was just forbidden to marry the daughter of), but the location I provided earlier was pretty accurate (say within 10 Km or so, good enough for a MIRV ICBM anyway). (What I mean to say is that it is obviously much finer than the location of the ISP's headquarters, which in this case are 500 Km away). I guess it depends really on what the actual purpose is in this case. If it is just to make the website look more friendly, it may be good enough and avoid a lot of extra work and complications. As Konstantin points out separately, if you are going to use the local timezone for anything "serious", then you could get yourself into a lot of complications. And who says the users are going to go though the trouble of selecting the right zone anyway ? and what if the user indeed spends his time traveling and making the life of the site designer difficult, like you above ? And what about users who are connecting first to their corporation's VPN from wherever they are, and of which all subsequent accesses appear to come from that corporation's firewall. Oh wait, that was an argument against using GeoIP, wasn't it ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org