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

What are some very useful class libraries or tool libraries for PHP? What are some very useful class libraries or tool libraries for PHP?

06 Jul 2016

What are some very useful class libraries or tool libraries for PHP?

A simple php routing class, simple php routing class_PHP tutorial A simple php routing class, simple php routing class_PHP tutorial

12 Jul 2016

A simple php routing class, a simple php routing class. A simple php routing class, a simple php routing class. This article shares an example of writing a simple routing class in php for your reference. The specific content is as follows: phpnamespace cmhcHcrail; cl

How Do I Link Static Libraries That Depend on Other Static Libraries? How Do I Link Static Libraries That Depend on Other Static Libraries?

13 Dec 2024

Linking Static Libraries to Other Static Libraries: A Comprehensive ApproachStatic libraries provide a convenient mechanism to package reusable...

Simple, convenient, full-featured PHP paging class Simple, convenient, full-featured PHP paging class

09 Jul 2016

Simple, convenient, full-featured PHP paging class,

PHP simple upload class sharing, PHP upload sharing_PHP tutorial PHP simple upload class sharing, PHP upload sharing_PHP tutorial

12 Jul 2016

PHP simple upload class sharing, PHP upload sharing. PHP simple upload class sharing, PHP upload sharing. The example in this article shares the PHP upload class for your reference. The specific content is as follows: phpclass UploadFile{ var $inputName; //Control name var

Why Do PHP Developers Use Leading Underscores in Class Methods? Why Do PHP Developers Use Leading Underscores in Class Methods?

11 Nov 2024

Hidden Truths: The Leading Underscore in PHP Class MethodsWhen browsing PHP libraries, one might stumble upon class methods prefixed with a...

See all articles