digicomp/flowsessionlock
最新稳定版本:4.0.2
Composer 安装命令:
composer require digicomp/flowsessionlock
包简介
Session locking for Neos Flow - it secures the session becoming corrupted by concurrent access to the same session by different requests
README 文档
README
By default, the session established by Flow is not "protected" in any way. This package restricts every request to load the session only, if there are no other requests having it in access currently. It allows to set custom pointcut which will set the session in "ReadOnly" mode, which allows concurrent requests to read, but disallows the current request to write the session.
If you want to allow concurrent access somewhere, you can add your trigger pointcut in Settings.yaml like such:
DigiComp: FlowSessionLock: readOnlyExpressions: MyLock: "method(My\\Package\\Controller\\MyController->myAction())"
统计信息
- 总下载量: 3.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-31