Download the PHP package xp-forge/mongo-sessions without Composer
On this page you can find all versions of the php package xp-forge/mongo-sessions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xp-forge/mongo-sessions
More information about xp-forge/mongo-sessions
Files in xp-forge/mongo-sessions
Download xp-forge/mongo-sessions
More information about xp-forge/mongo-sessions
Files in xp-forge/mongo-sessions
Vendor xp-forge
Package mongo-sessions
Short Description MongoDB Sessions
License BSD-3-Clause
Homepage http://xp-framework.net/
Package mongo-sessions
Short Description MongoDB Sessions
License BSD-3-Clause
Homepage http://xp-framework.net/
Please rate this library. Is it a good library?
Informations about the package mongo-sessions
MongoDB Sessions
MongoDB-based sessions implementation.
Example
Session expiry
By default, cleaning up expired sessions is handled by the implementation. For a more performant version, use TTL indexes as follows.
Setup collection
Issue the following in MongoDB shell:
Add TTL flag
Pass InMongoDB::USING_TTL
as second parameter to the InMongoDB constructor:
This will use the expireAfterSeconds value as session duration.
All versions of mongo-sessions with dependencies
PHP Build Version
Package Version
Requires
xp-framework/core Version
^12.0 | ^11.0 | ^10.0
xp-forge/sessions Version ^3.0 | ^2.0 | ^1.0
xp-forge/mongodb Version ^2.0 | ^1.4
php Version >=7.0.0
xp-forge/sessions Version ^3.0 | ^2.0 | ^1.0
xp-forge/mongodb Version ^2.0 | ^1.4
php Version >=7.0.0
The package xp-forge/mongo-sessions contains the following files
Loading the files please wait ....