PHP Classes

PHP Session Variable Manipulation: Change or flash session variable values

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-05-20 (5 months ago) RSS 2.0 feedNot enough user ratingsTotal: 248 All time: 7,748 This week: 363Up
Version License PHP version Categories
session_class 1.0.0Shareware5PHP 5, User Management
Description Author

This class can change or flash session variable values.

It provides common functions to check if a session variable exists, as well set, get or delete the value of a session variable.

The class can also flash a session variable by checking if it exists. In that case it deletes the variable and returns the current value. Otherwise it sets the variable to a new given value.

Innovation Award
PHP Programming Innovation award nominee
May 2019
Number 2
Session variables are often used to store information that is useful to keep track of the activities of a user in a Web site.

Sometimes it is necessary to store information that can be used only once during the access of the same user.

This class provides means to retrieve an information value stored in a session variable and at the same time it removes that variable value from the session variables list, so it cannot be used more that once.

Manuel Lemos
  Performance   Level  
Name: Taranpreet Singh <contact>
Classes: 2 packages by
Country: India India
Age: 26
All time rank: 3681262 in India India
Week rank: 351 Up34 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Files folder image Files  
File Role Description
Plain text file Session.php Class Session manipulation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,748
This week:363Up
User Comments (4)