0

When I auto-load session library from autoload.php in Codeigniter, following error is displayed in browser: "In order to use the Session class you are required to set an encryption key in your config file."

How to resolve this ?

user2176764
  • 87
  • 1
  • 2
  • 9
  • this looks similar: http://stackoverflow.com/questions/5385524/in-order-to-use-the-session-class-you-are-required-to-set-an-encryption-key-in-y – m79lkm Mar 21 '13 at 21:09

1 Answers1

0

Go to your config.php

search for this

$config['encryption_key'] = '';

and change it to

$config['encryption_key'] = 'something';

where something is an encryption key of your choice

Nikitas
  • 1,013
  • 13
  • 27