Welcome Guest, Not a member yet? Register   Sign In
Multiple Set-Cookie in header? Session regenerating maybe?
#10

(04-20-2017, 07:58 AM)AzaZPPL Wrote: So like this?
Code:
$config['sess_driver']       = 'database';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = 'Ci_sessions';

Missing some non-important settings, but yes.

(04-20-2017, 07:58 AM)AzaZPPL Wrote: I think I might have an old config file since it still shows:
Code:
/*
|--------------------------------------------------------------------------
| Session Variables
|--------------------------------------------------------------------------
|
| 'sess_cookie_name'        = the name you want for the cookie
| 'sess_expiration'            = the number of SECONDS you want the session to last.
|   by default sessions last 7200 seconds (two hours).  Set to zero for no expiration.
| 'sess_expire_on_close'    = Whether to cause the session to expire automatically
|   when the browser window is closed
| 'sess_encrypt_cookie'        = Whether to encrypt the cookie
| 'sess_use_database'        = Whether to save the session data to a database
| 'sess_table_name'            = The name of the session database table
| 'sess_match_ip'            = Whether to match the user's IP address when reading the session data
| 'sess_match_useragent'    = Whether to match the User Agent when reading the session data
| 'sess_time_to_update'        = how many seconds between CI refreshing Session Information
|
*/

If you didn't have an old config, we wouldn't be having this conversation. Smile

(04-20-2017, 07:58 AM)AzaZPPL Wrote: Doesn't the sess_expiration already default to 7200?

No.
Reply


Messages In This Thread
RE: Multiple Set-Cookie in header? Session regenerating maybe? - by Narf - 04-20-2017, 08:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB