CodeIgniter Forums

Full Version: problems with the class session
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
I'm making an example but it shows me an error

In order to use the Session class you are required to set an encryption key in your config file.


I should do to correct this error

El Forum

[eluser]j4zzyh4ck3r[/eluser]
[quote author="yense" date="1302667079"]I'm making an example but it shows me an error

In order to use the Session class you are required to set an encryption key in your config file.


I should do to correct this error[/quote]

Go to the config.php in application/config/ then find $config['encryption_key'], give the value for the encryption key, it should work =)

El Forum

[eluser]Unknown[/eluser]
that more or less I need to put


thx

El Forum

[eluser]InsiteFX[/eluser]
Code:
$config['encryption_key'] = '245-836-940-2847-8589-2648-04825';

InsiteFX