rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Don Hill <dhill.novell@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: multiple sessions on Sinatra use Rack::Session::Pool
Date: Tue, 13 Dec 2011 08:44:13 -0600	[thread overview]
Message-ID: <CAFoK_=TJpatm6OKq5F+=-hMwvxaJ5ha7dQ+65gemSRzz2ZXs0A@mail.gmail.com> (raw)
In-Reply-To: <CACHATVsHbhNfQ0tpRo-zvWhm74ZTxTmHJMDAp9wLyE2bTy8s1A@mail.gmail.com>

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 happening?

On Mon, Dec 12, 2011 at 4:01 PM, Joshua Ballanco <jballanc@gmail.com> wrote:
> On Mon, Dec 12, 2011 at 3:40 PM, donhill <dhill.novell@gmail.com> 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: http://www.kalzumeus.com/2011/11/17/i-saw-an-extremely-subtle-bug-today-and-i-just-have-to-tell-someone/

      reply	other threads:[~2011-12-13 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 20:40 multiple sessions on Sinatra use Rack::Session::Pool donhill
2011-12-12 22:01 ` Joshua Ballanco
2011-12-13 14:44   ` Don Hill [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFoK_=TJpatm6OKq5F+=-hMwvxaJ5ha7dQ+65gemSRzz2ZXs0A@mail.gmail.com' \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).