• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[config] "sess_cookie_name" ignored when using redis driver

#1
Hi all,

when I use redis as the session driver, the "sess_cookie_name" value is ignored. The key in Redis server is always starting with "ci_session:...", regardless of the sess_cookie_name value. Can someone tell me how to fix or bypass this? I really need different values for my different environments (dev, qa, production).

Thanks in advanced,
Matthias
Reply

#2
You can change the prefix by changing the value in your sess_save_path.

Code:
tcp://localhost:6379?prefix=dev
Code:
tcp://localhost:6379?prefix=qa
Code:
tcp://localhost:6379?prefix=production
Reply

#3
Thanks!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.