You are here

constant PdoSessionHandler::LOCK_TRANSACTIONAL in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler::LOCK_TRANSACTIONAL

Issues a real row lock. Since it uses a transaction between opening and closing a session, you have to be careful when you use same database connection that you also use for your application logic. This mode is the default because it's the only reliable solution across DBMSs.

File

vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php, line 66

Class

PdoSessionHandler
Session handler using a PDO connection to read and write data.

Namespace

Symfony\Component\HttpFoundation\Session\Storage\Handler

Code

const LOCK_TRANSACTIONAL = 2;