Login   Register  
PHP Classes
elePHPant
Icontem

Reload Preventer: Small class for preventing data being sent twice

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2002-11-19 (11 years ago) RSS 2.0 feedStarStarStarStar 60%Total: 1,284 All time: 2,754 This week: 2,019Up
Version License Categories  
reloadpreventer 1.0Free for non-commercial...HTML
Description Author  

Small class for preventing that data is sent more than one time by a user if he presses Reload on his browser by setting a token that is written to the session and also placed as a hidden filed in a form. If those two values aren't the same, you get a boolean false by the isValid() function.

Picture of flaimo
Name: flaimo <contact>
Classes: 7 packages by
Country: Austria Austria
Age: ???
All time rank: Not yet ranked
Week rank: 5686 in Austria Austria

  Files folder image Files  
File Role Description
Plain text file class.ReloadPreventer.inc.php Class base class
Accessible without login Plain text file index.php Example example script

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,284All time:2,754
 This week:0This week:2,019Up
 User Ratings  
 
 All time
Utility:85%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:870