A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: libraries/Flexi_auth_lite.php

Line Number: 291

Backtrace:

File: /home/qeyafahc/public_html/application/libraries/Flexi_auth_lite.php
Line: 291
Function: _error_handler

File: /home/qeyafahc/public_html/application/libraries/Flexi_auth_lite.php
Line: 352
Function: get_user_id

File: /home/qeyafahc/public_html/application/libraries/Flexi_auth_lite.php
Line: 93
Function: get_user_by_id_query

File: /home/qeyafahc/public_html/application/controllers/Auth_lite.php
Line: 75
Function: __call

File: /home/qeyafahc/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: libraries/Flexi_auth_lite.php

Line Number: 292

Backtrace:

File: /home/qeyafahc/public_html/application/libraries/Flexi_auth_lite.php
Line: 292
Function: _error_handler

File: /home/qeyafahc/public_html/application/libraries/Flexi_auth_lite.php
Line: 352
Function: get_user_id

File: /home/qeyafahc/public_html/application/libraries/Flexi_auth_lite.php
Line: 93
Function: get_user_by_id_query

File: /home/qeyafahc/public_html/application/controllers/Auth_lite.php
Line: 75
Function: __call

File: /home/qeyafahc/public_html/index.php
Line: 315
Function: require_once

flexi auth Lite Example

This page is an example of the flexi auth 'Lite' library. The lite library only contains functions that read data from the auth session or database and can use up to 40% less memory than on pages using the standard library.

Its lighter memory footprint means the library can display user data on pages that do not need complicated authentication functions, resulting in minimal effect to the sites performance.

Examples of its usage can be seen below displaying a small summary of user data that is stored within the auth session and database.

Lite Library Functions

  • Login Status

    Check the login status of the current user.

    User is not currently logged in!

Lite Library Demo | flexi auth | A User Authentication Library for CodeIgniter