Home PHP Libraries Other libraries php simple session class
php simple session class

A simple php session class, using session.

Approximate usage

example :
log in page: $session = session::getObject();
$session->set_ture(); // if $row['password'] ==

next page :

log out : $session = session::getObject();
$session->end_session();
Return by get_status() whether the current user is logged in effectively

Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

PHP simple session class code PHP simple session class code

30 Nov 2016

PHP simple session class code

PHP simple session class code_PHP tutorial PHP simple session class code_PHP tutorial

21 Jul 2016

PHP simple session class code. Copy the code as follows: ?php class session { static $sessionObject; /* $_SESSION['user'] == 0 , don't work . * == 1 , he is really user . */ private function __construct() { if(

Simple SESSION management class Simple SESSION management class

09 Nov 2016

Simple SESSION management code sharing

Is asp simple or php simple? Is asp simple or php simple?

17 Oct 2019

PHP is simpler than ASP because PHP can be learned quickly, is cross-platform, has good database interaction capabilities, is closely integrated with Apache and other extension libraries, takes up less system resources, has fast code execution speed, is open source and free.

PHP simple shopping cart class design_PHP tutorial PHP simple shopping cart class design_PHP tutorial

13 Jul 2016

PHP simple shopping cart design. In this program, two classes are created, one is the general Product class, which encapsulates a product and product attributes, and the other is the Cart class of the shopping cart. Product class (Product.php) product

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial 24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

13 Jul 2016

24 useful PHP libraries to share, 24php libraries. 24 useful PHP libraries to share, 24php libraries Currently, PHP is the most popular scripting language used for web development. You can easily find a lot of information about PHP on the Internet, including documentation, tutorials,

See all articles