Welcome Guest, Not a member yet? Register   Sign In
Session lost after redirect on Heroku (but no on localhost) [fixed]
#3

(This post was last modified: 12-09-2016, 10:45 AM by jfmcode.)

Sorry, I did not noticed the last line of the config.php file: 
PHP Code:
$config['sess_save_path'] = sys_get_temp_dir(); 
However, I have just tried changing the session drive to database, and the session is still being lost.
So I think the issue is related to the ci_session cookie being changed each time that the page is reloaded.
Reply


Messages In This Thread
RE: Cookie-based session lost after redirect on Heroku (but no on localhost) - by jfmcode - 12-09-2016, 09:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB