Welcome Guest, Not a member yet? Register   Sign In
Confusing Session Class change
#7

For the most part, the biggest changes that impact use of the session library are in the configuration of the library, and the changes to the database structure if you use the session library's database driver. The documentation covers the changes pretty well here: https://codeigniter.com/user_guide/insta...rary-usage

Otherwise, there may have been some changes to undocumented methods in the session library, but the documented methods largely still work (and the changes to the documented methods are noted at the link above). Most people have to make very few (if any) changes to their code unless they are preparing for the removal of deprecated methods which may occur in some future version of CI3, or they used the undocumented methods in the CI2 session library.

Perhaps the biggest exception here would be when using the session library's database driver, which doesn't work well with certain database settings if you're using the same database connection for your site's other database use. For example, persistent connections are not supported, and you would need to be careful with query builder caching if you're mixing other database use and session access.
Reply


Messages In This Thread
Confusing Session Class change - by natefrogg028 - 12-30-2015, 05:06 PM
RE: Confusing Session Class change - by skunkbad - 12-30-2015, 05:51 PM
RE: Confusing Session Class change - by kilishan - 12-30-2015, 09:33 PM
RE: Confusing Session Class change - by mike7418 - 12-31-2015, 05:06 AM
RE: Confusing Session Class change - by mike7418 - 12-31-2015, 04:06 PM
RE: Confusing Session Class change - by mwhitney - 12-31-2015, 11:37 AM
RE: Confusing Session Class change - by Narf - 12-31-2015, 08:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB