• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logout problem

#1
Sad 
Hello Developers ,

We have problem with our website  , users are logged out randomly ! these are the cookies configs , Please help



PHP Code:
$config['encryption_key'] = 'swexds'// front end

$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session_front';
$config['sess_expiration'] = 60*60*24*365// full year
$config['sess_save_path'] = APPPATH ."storage/sessions";
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = TRUE;


$config['cookie_prefix'   'xrd_'// front end
$config['cookie_domain'   '';
$config['cookie_path'       '/';
$config['cookie_secure'   FALSE;
$config['cookie_httponly'    TRUE


Can you please help us because this is urgent ?
Reply

#2
have you tried changing the sess_cookie_name i encounter this once. when two ci session with the same sess_cookie_name the other one logout
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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