PHP Classes

Anti-Hacking Session Manager: User session management with security features

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 10,750 All time: 115 This week: 89Up
Version License Categories
anti_hack_session 1.0.0GNU General Publi...User Management, Security


This class can manage user access sessions providing some security features.

It verifies whethers the IP address and the browser identification (user agent) are not different from those used when the session is created. Otherwise, the session is flagged as invalid. An exception is opened for users accessing the site via AOL, due to the rotating proxy problem.

It also provides functions for setting, getting, removing and checking the existance of individual session variables.

The session variables can be referred using dots for separating the names of indexes of sessions variables stored in multi-dimensional associative arrays, like for instance, "config.ip" instead for $_SESSION["config"]["ip"].

In French:

Cette classe contrôle que l'adresse ip et le user-agent sont identiques tout au long de la session. Si ce n'est pas le cas, c'est que votre session a été "volée". Cette classe vous permet aussi de gérer les variables de session plus simplement.

Picture of Benjamin Boigienman
Name: Benjamin Boigienman <contact>
Classes: 3 packages by
Country: France France
Age: 42
All time rank: 14611 in France France
Week rank: 298 Down10 in France France Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Class Class
Accessible without login Plain text file init_session.php Example Session initialization
Accessible without login Plain text file test_session.php Example Test

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:115
This week:89Up
User Ratings User Comments (1)
 All time