#1361: AgaviPdoSessionStorage throws: Exception thrown without a stack frame in
Unknown on line 0
------------------------------------------+---------------------------------
Reporter: jeramy@… | Owner: david
Type: defect | Status: new
Priority: high | Milestone: 1.0.5
Component: storage | Version: 1.0.4
Severity: major | Keywords:
Has_patch: 0 |
------------------------------------------+---------------------------------
Comment(by david):
I can reproduce the issue. However, the patch is problematic because for
userland session handlers, PHP does not perform any kind of locking. The
{{{SELECT}}} is performed after {{{rowCount()}}} returns 0, but in the
meantime, there are short windows where the data might have been modified,
inserted or deleted. That could result in race conditions. Problem also is
that the whole thing should work on any database supported by PDO; I
actually think {{{rowCount()}}} always returns {{{0}}} for SQLite, no
matter what...
--
Ticket URL: <http://trac.agavi.org/ticket/1361#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets