rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* multiple sessions on Sinatra use Rack::Session::Pool
@ 2011-12-12 20:40 donhill
  2011-12-12 22:01 ` Joshua Ballanco
  0 siblings, 1 reply; 3+ messages in thread
From: donhill @ 2011-12-12 20:40 UTC (permalink / raw)
  To: Rack Development

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: multiple sessions on Sinatra use Rack::Session::Pool
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Ballanco @ 2011-12-12 22:01 UTC (permalink / raw)
  To: rack-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: multiple sessions on Sinatra use Rack::Session::Pool
  2011-12-12 22:01 ` Joshua Ballanco
@ 2011-12-13 14:44   ` Don Hill
  0 siblings, 0 replies; 3+ messages in thread
From: Don Hill @ 2011-12-13 14:44 UTC (permalink / raw)
  To: rack-devel

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-13 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

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).