Skip to content

Commit 0ec58f0

Browse files
SvenRtbgNyholm
authored andcommitted
Add warning because of missing locking
I have no idea if locking can somehow be implemented in this session handler - this warning must do it for the time being.
1 parent 4fa45ea commit 0ec58f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ $config = ['ttl'=>3600, 'prefix'=>'foobar'];
2424
$sessionHandler = new Psr6SessionHandler($pool, $config);
2525
```
2626

27+
Note that this session handler does no kind of locking, so it will lose or overwrite your session data if you run scripts concurrently. You have been warned.
28+
2729
### Contribute
2830

2931
Contributions are very welcome! Send a pull request to the [main repository](https://github.com/php-cache/cache) or
30-
report any issues you find on the [issue tracker](http://issues.php-cache.com).
32+
report any issues you find on the [issue tracker](http://issues.php-cache.com).

0 commit comments

Comments
 (0)