Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 59376 invoked from network); 1 Sep 2009 17:39:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Sep 2009 17:39:42 -0000 Received: (qmail 27962 invoked by uid 500); 1 Sep 2009 17:39:42 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 27918 invoked by uid 500); 1 Sep 2009 17:39:42 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 27908 invoked by uid 99); 1 Sep 2009 17:39:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 17:39:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of esjewett@gmail.com designates 209.85.220.224 as permitted sender) Received: from [209.85.220.224] (HELO mail-fx0-f224.google.com) (209.85.220.224) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 17:39:34 +0000 Received: by fxm24 with SMTP id 24so213884fxm.12 for ; Tue, 01 Sep 2009 10:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=aAQsqNkSBsCF0oJL0h7sw1YxIBKx9IxjZ+c5UYb2+ms=; b=xfRp9WqD15fNOGtCH5WFRcA42UVkdaGzW5kOtDo5qV7DVSAQ1j3v9Ch4mPT9c8xVuT 5EEUuElNt4MMnApx0pDWE/PBTbG13MLDi3PBHY0BEY/kG6JnTNtt5tbXtHXZPp5dvBPe WZoBiTEOLNhxEWdsuP1LyK/1IZNB+2Jt8Nngc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=SrdUMIn0TSIL2TKVNvVv+KA88bsXqyklnz4kFAAqcv3+QwbMkKL8cbx2go0WFqdadA kBnQjy0SLsEMISkiKy9pQxwEr4yXcT6DZ+i9n2+XKh0nQVtN7Nu/+9/iO+Z4R4IQKGFa NxP5GkKAdNDnvoDQoJXa/CwjIzK2AycxDV16g= MIME-Version: 1.0 Received: by 10.239.163.222 with SMTP id q30mr593024hbd.128.1251826273369; Tue, 01 Sep 2009 10:31:13 -0700 (PDT) In-Reply-To: References: <68f4a0e80909010531j5381a930m2b245dfd22cc651@mail.gmail.com> <68f4a0e80909010825n2036fbf7u365f4a3f20fd0012@mail.gmail.com> Date: Tue, 1 Sep 2009 13:31:13 -0400 Message-ID: <68f4a0e80909011031h47861b26g9d4fd624aff5d978@mail.gmail.com> Subject: Re: [Lift] JSON handler doesn't respond From: Ethan Jewett To: esme-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001485f723a458404d047287848e X-Virus-Checked: Checked by ClamAV on apache.org --001485f723a458404d047287848e Content-Type: text/plain; charset=ISO-8859-1 I'm trying to reproduce it now (waiting). I was able to verify that if you're running Firebug in FF3.5, it keeps a record of all the headers of all requests since you loaded the page, so it's pretty easy to check what the cookie and session ID looked like at the beginning and compare it to what it looks like at the end. Ethan On Tue, Sep 1, 2009 at 12:38 PM, Vassil Dichev wrote: > I cannot reproduce the problem locally, so probably we don't need to > do any more debugging. Anyway, you can read on if you want my detailed > explanations of the problem. > > > I don't see that this had been mentioned before. Definitely makes it > sound > > Well, you can't have multiple users logged in a single browser > session. When you try to open another browser on the same machine, it > sees the open port of the existing firefox instance, so it just sends > a command to this existing instance to open a new window. Like you > said- one browser, one cookie. > > > > > Do you get the same issue intermittently when you are logged in as only > one > > user in a single browser? > > Yes. As I mentioned, Dick and Anne have also reproduced the problem, > and they definitely haven't played with multiple Firefox instances. > > > Just trying to understand the problem... > > Me too. I'm not saying that this *is* the cause of the problem. David > asked what I do to reproduce the problem. Since I've already mentioned > that I'm using Firefox before, I decided to provide more details on > the last scenario when I experienced this problem. This was the case > when I was testing "resends", where you need to have 3 users, where B > follows A, and C follows B but not A. I doubt this is relevant, but > decided to share it, since, again, David is trying to reproduce the > problem. > > >> > >> I was thinking along the lines of Chrome doing something so that the > >> session doesn't expire as easily. > >> > > > > I'm not sure what Chrome could be doing differently. As far as I know > from > > my API hacking, the lift session is just stored as a cookie, which is > then > > sent in the header of every subsequent request to the site. Either the > > cookie is being sent or it's not. If it is being sent but not recognized > on > > the Lift side, then that would be an ESME issue. If it is not being sent > > correctly, then that is a browser issue. > > I'm not sure, but I think long polling has some specifics for > different browsers. If for some reason the session expires more easily > on one browser, but not on the other, this could be relevant. Since > long polling relies on renewing the request after a timeout, that > could make the browser keep the session without expiring it. Of > course, that's just hypothetical. > > At least, I'm trying to reproduce the problem with Chrome on the old > Stax instance and so far I cannot, and I can with Firefox. > > Vassil > --001485f723a458404d047287848e--