Download the PHP package solophp/session without Composer
On this page you can find all versions of the php package solophp/session. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download solophp/session
More information about solophp/session
Files in solophp/session
Download solophp/session
More information about solophp/session
Files in solophp/session
Vendor solophp
Package session
Short Description Secure PHP Session Handler with advanced security features
License MIT
Package session
Short Description Secure PHP Session Handler with advanced security features
License MIT
Please rate this library. Is it a good library?
Informations about the package session
PHP Session Handler
Secure PHP session handler with advanced security features and session management.
Features
- Secure session configuration out of the box
- Session timeout management
- Session integrity checks (IP and User-Agent validation)
- Protection against session fixation attacks
- Strict session management
- Cookie security controls
- Session status monitoring
Requirements
- PHP 8.1 or higher
Installation
Basic Usage
Advanced Configuration
Security Features
Session Timeout
Sessions automatically expire after a period of inactivity (default 30 minutes):
Session Integrity
Sessions are validated against:
- User's IP address
- User's browser (User-Agent)
- Session initiation status
Cookie Security
Secure cookie settings:
- HttpOnly flag
- Secure flag (HTTPS only)
- SameSite attribute
- Configurable domain and path
- Optional lifetime
Available Methods
Data Management
Session Management
Session Status Values
PHP_SESSION_DISABLED
= 0PHP_SESSION_NONE
= 1PHP_SESSION_ACTIVE
= 2
Best Practices
- Always use HTTPS in production (
secure: true
) - Set appropriate timeout values for your application
- Consider using 'Strict' SameSite setting for better security
- Monitor session activity using provided methods
- Handle expired sessions appropriately
- Use session regeneration for sensitive operations
License
MIT
All versions of session with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package solophp/session contains the following files
Loading the files please wait ....