PHP Classes
elePHPant
Icontem

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 (26 days ago) RSS 2.0 feedNot enough user ratingsTotal: 216 This week: 118All time: 8,070 This week: 1Up
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
Nominee
Vote
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: 25
All time rank: 3884271 in India India
Week rank: 1 Up
Innovation award
Innovation award
Nominee: 1x

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:216
This week:118
All time:8,070
This week:1Up
User Comments (4)