rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Joshua Ballanco <jballanc@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: multiple sessions on Sinatra use Rack::Session::Pool
Date: Mon, 12 Dec 2011 17:01:44 -0500	[thread overview]
Message-ID: <CACHATVsHbhNfQ0tpRo-zvWhm74ZTxTmHJMDAp9wLyE2bTy8s1A@mail.gmail.com> (raw)
In-Reply-To: <383f50be-f002-467d-9bf1-90fb33ba49df@32g2000yqp.googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

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/

[-- Attachment #2: Type: text/html, Size: 1320 bytes --]

  reply	other threads:[~2011-12-12 22:02 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 [this message]
2011-12-13 14:44   ` Don Hill

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=CACHATVsHbhNfQ0tpRo-zvWhm74ZTxTmHJMDAp9wLyE2bTy8s1A@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).