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 (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-05-20 (16 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 120 This week: 21All time: 9,001 This week: 8Up
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: 1 package by
Country: India India
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:120
This week:21
All time:9,001
This week:8Up
User Comments (3)