EllisLab text mark
Advanced Search
     
In order to use the Session class you are required to set an encryption key in your config file.
Posted: 09 February 2012 07:41 PM
Joined: 2012-02-09
1 posts

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.

 
Posted: 09 February 2012 09:27 PM   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2009-06-19
6583 posts

./application/config/config.php

/*
|--------------------------------------------------------------------------
| 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

 

 Signature 

Certified State of CT Computer Programming Teacher.
Custom Designed Icons, eBook Covers Software Boxes. CD, DVD Etc. New iPhone® Tab Bar Icons and iPhone® Applications Icons.

Skype: insitfx

STOP! Before posting your questions, remember the WWW Golden rule:
What did you try? What did you get? What did you expect to get?

Input -> Controller | Processing -> Model | Output -> View