Skip to content

Utilizing PHP's native session instead of the cookie/db based session of codeigniter

Notifications You must be signed in to change notification settings

mackski/codeigniter-native-session

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

codeigniter-native-session

Utilizing PHP's native session instead of the cookie/db based session of codeigniter.

Installation

  • Copy config/session.php to application/config/session.php
  • Copy libraries/MY_Session.php to application/libraries/MY_Session.php

Done.

The class mimics the Codeigniter's CI_Session class.

All functions (set_userdata / userdata / flashdata / set_flashdata / etc ... ) are available. For documentation take a look at The codeigniter user guide

I've been using this class because it's a lot safer than the cookie-sessions of codeigniter.

About

Utilizing PHP's native session instead of the cookie/db based session of codeigniter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published