PHP Classes

Flash Messages: Set persistent messages to use in several requests

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 1,173 All time: 3,228 This week: 673Up
Version License PHP version Categories
flash_messages 0.1MIT/X Consortium ...4Tools, Content management


This class can be used to set messages to use in several requests.

The messages can be error messages or notices to be displayed of each page accessed by the same user.

Each message is assigned a type and a namespace, so multiple messages of different types and namespaces can be presented to the user.

The class uses session variables to store the persistent messages of all domains, so the messages are preserved while the sessions last.

Innovation Award
PHP Programming Innovation award nominee
February 2007
Number 4
Some Web applications execute background tasks or communicate with external systems that may trigger events that can occur at any moment. When that happens, it may be necessary to notify the user accessing the site to take appropriate action.

This class can be used to notify several types of messages regarding events important to the current user. Different messages can be exhibited on different contexts, making it easier to keep the user up to date with multiple types of application events.

Manuel Lemos
Picture of Matthias Viehweger
Name: Matthias Viehweger is available for providing paid consulting. Contact Matthias Viehweger .
Classes: 1 package by
Country: Germany Germany
Age: 44
All time rank: 2149132 in Germany Germany
Week rank: 311 Up15 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file flash.php Class PHP5 version of flash.php4
Plain text file flash.php4 Class Main Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,228
This week:673Up
 User Ratings  
 All time