i am a application using codeigniter 3, while testing in xampp local server everything is fine but when i hosted in a server(live) facing an issue related to codeigniter session. when a user is logged in and performing actions suddenly a error unlink(/tmp/ci_session..some file path here..):operation not permitted
Filename:drivers/Session_files_driver.php
Line Number: 354
is coming, if refreshed the page error is vanished and everything is fine. any suggesstion is appreciated.
Check the value of $config['sess_save_path']
in config.php. When using the files driver for sessions this must be set with the absolute path of the folder used to store session files. The folder must exist and its permissions must be set properly - try 0700.