From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.248.130 with SMTP id mg2cs77465qcb; Tue, 13 Dec 2011 06:44:18 -0800 (PST) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCI7O1aycDhC-yZ33BBoE0oUD_Q@googlegroups.com designates 10.236.183.229 as permitted sender) client-ip=10.236.183.229; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCI7O1aycDhC-yZ33BBoE0oUD_Q@googlegroups.com designates 10.236.183.229 as permitted sender) smtp.mail=rack-devel+bncCI7O1aycDhC-yZ33BBoE0oUD_Q@googlegroups.com; dkim=pass header.i=rack-devel+bncCI7O1aycDhC-yZ33BBoE0oUD_Q@googlegroups.com Received: from mr.google.com ([10.236.183.229]) by 10.236.183.229 with SMTP id q65mr4501574yhm.18.1323787457126 (num_hops = 1); Tue, 13 Dec 2011 06:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=g/34yEitK96srImnDs24d44si8nM6B5eyIieqgxBd6s=; b=hYb8ERhZKt/gyxNRrFrUdN+BjjEf0pRT7eJqNkFtPTv8qf4F9X6JY7I75XGYJe5Sux 44nx2mFkMfhCLOTWdrkrU3vXpv/L6KmSKOQavoPkkiBuGllm0Xrmx5gncpYg85sIcKtS z8Y5KrI1OrUVu0pIc5jgt2VjZDLJKEzg338Ww= Received: by 10.236.183.229 with SMTP id q65mr1318419yhm.18.1323787454701; Tue, 13 Dec 2011 06:44:14 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.101.88.2 with SMTP id q2ls1861972anl.7.gmail; Tue, 13 Dec 2011 06:44:14 -0800 (PST) Received: by 10.236.123.11 with SMTP id u11mr5330487yhh.3.1323787454001; Tue, 13 Dec 2011 06:44:14 -0800 (PST) Received: by 10.236.123.11 with SMTP id u11mr5330485yhh.3.1323787453990; Tue, 13 Dec 2011 06:44:13 -0800 (PST) Received: from mail-gy0-f179.google.com (mail-gy0-f179.google.com [209.85.160.179]) by gmr-mx.google.com with ESMTPS id h66si856192yhe.1.2011.12.13.06.44.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Dec 2011 06:44:13 -0800 (PST) Received-SPF: pass (google.com: domain of dhill.novell@gmail.com designates 209.85.160.179 as permitted sender) client-ip=209.85.160.179; Received: by ghrr11 with SMTP id r11so461268ghr.38 for ; Tue, 13 Dec 2011 06:44:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.237.16 with SMTP id k16mr805390anh.85.1323787453857; Tue, 13 Dec 2011 06:44:13 -0800 (PST) Received: by 10.101.113.13 with HTTP; Tue, 13 Dec 2011 06:44:13 -0800 (PST) In-Reply-To: References: <383f50be-f002-467d-9bf1-90fb33ba49df@32g2000yqp.googlegroups.com> Date: Tue, 13 Dec 2011 08:44:13 -0600 Message-ID: Subject: Re: multiple sessions on Sinatra use Rack::Session::Pool From: Don Hill To: rack-devel@googlegroups.com X-Original-Sender: dhill.novell@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of dhill.novell@gmail.com designates 209.85.160.179 as permitted sender) smtp.mail=dhill.novell@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the read. I will persue this further. Is there a was for me to debug Rack to figure out if this is actually happe= ning? On Mon, Dec 12, 2011 at 4:01 PM, Joshua Ballanco wrote= : > On Mon, Dec 12, 2011 at 3:40 PM, donhill wrote: >> >> Hi. >> >> Sinata - 1.3.1 >> Rack 1.3.5 >> >> I am experiencing what appears to be multiple sessions on a sinatra >> app. I am using Rack::Session::Pool. This doesn't happen all the time >> but the same customer has complained they keep getting an exception. >> The flow is like this. >> >> I am using default settings for the Pool >> >> goto registration page >> submit the page - I set a session value here >> the user goes to a verify page and selects edit, when returning to the >> registration page the session is empty >> >> I am dumping the session and cookies in my logs and it seems the >> session cookies have changed values >> >> Has anyone experienced this tell me how to debug this? > > > Sounds something like > this:=A0http://www.kalzumeus.com/2011/11/17/i-saw-an-extremely-subtle-bug= -today-and-i-just-have-to-tell-someone/