in reply to Concurrent requests on the same CGI::Session
I would consider submitting a patch. The scenario that you describe is unfortunately a pretty-common “race condition.”
Otherwise, build a descendant class... and please then consider contributing it to CPAN, where I am sure it will be very well received.
Many CGI session handlers are not-very-well architected (IMHO...) for AJAX needs. (And I do mean that in a very constructive and positive way.) Even though the design principles needed for suitable session-stores are straightforward enough, I am really not aware of any packages that do AJAX well... for the very reasons you describe. (And if this thread could now expand to include a list of a few that notably are, that would be a Very Good Thing.™)
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Concurrent requests on the same CGI::Session
by Anonymous Monk on Jan 17, 2011 at 14:27 UTC | |
by locked_user sundialsvc4 (Abbot) on Jan 17, 2011 at 15:40 UTC | |
by Anonymous Monk on Jan 17, 2011 at 16:24 UTC | |
by locked_user sundialsvc4 (Abbot) on Jan 17, 2011 at 19:01 UTC | |
by Anonymous Monk on Jan 18, 2011 at 09:30 UTC | |
|
Re^2: Concurrent requests on the same CGI::Session
by webdeveloper (Novice) on Jan 17, 2011 at 15:36 UTC |