PHP Classes

Private Sessions: Store sessions in a private directory or database

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 3,518 All time: 951 This week: 71Up
Version License Categories
private_sessions 1.0GNU General Publi...Databases, Files and Folders, User Ma...


This class can be used as session handler to store session data in private directories or in a MySQL database table, instead of the default system temporary directory.

When using a MySQL database table as a container for the session data, the class takes care of opening the database connections and perform the SQL queries as needed. It can also create the database table to store the session data.

When using a private directory as a container for the session data, the class takes care of opening, reading and writing to the session files as needed.

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 22 packages by
Country: United States United States
Age: 44
All time rank: 61 in United States United States
Week rank: 71 Down8 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Accessible without login Plain text file db_sample.php Example Sample
Accessible without login Plain text file file_sample.php Example Sample
Plain text file private_sessions.class.php Class Source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:951
This week:71Up
 User Ratings  
 All time