Welcome Guest, Not a member yet? Register   Sign In
In order to use the Session class you are required to set an encryption key in your config file.
#1

[eluser]Unknown[/eluser]
Hi there can someone help me?
I'm a beginner in codeigniter and i setting up my login logout. Right now I got an error.
"An Error Was Encountered
In order to use the Session class you are required to set an encryption key in your config file."

I already inserted an encryption key in the config but still it doesnt work. Can somebody help me.



Thanks.
#2

[eluser]InsiteFX[/eluser]
./application/config/config.php
Code:
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| If you use the Encryption class or the Session class you
| MUST set an encryption key.  See the user guide for info.
|
*/

$config['encryption_key'] = '02527-269-2503946-70386-34730519';

Something like that




Theme © iAndrew 2016 - Forum software by © MyBB