[eluser]jegbagus[/eluser]
hello mas mas, i got the same problem with your.
it got me stress all day.
this is my case.
i want to create two different session on CI. let say it Chart session and login state session. both of them use encrypt cookies value. i sparated them because they have a different live time. chart session must be live far longer than login state session. when i create First session from auto load library, it going well. but when i try to initialize another session, error happen.
I try to create a new session object, so i can always control it from my library. Not become one with CI instance.
Code:
$sess = new $CI_Session();
the error occur because CI won`t load encrypt library for another session library. So when i try to initialize a new session class, it don`t get encrypt library load to them. but if we don`t use encrypt session cookies, everything going well.
i`m sorry for my noobs question. i used to use java for programing. so i still have a java minded oop programing style.
any suggestion. for my problem?
best regard.