CodeIgniter Forums
Session & captcha in Windows shared hosting - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Choosing CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=8)
+--- Thread: Session & captcha in Windows shared hosting (/showthread.php?tid=78290)



Session & captcha in Windows shared hosting - nmdinesh - 12-29-2020

Session Problem : 
I unable to save my session "ci_sessions" folder. 
I want to all session save "ci_sessions" folder. 
We are using windows hosting database using MS SQL. 
Our local server working fine when i was upload live server i unable to change session path my

config.php code here


PHP Code:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 43200;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
$config['log_threshold'] = 4



.user.ini code

PHP Code:
[PHP]
extension=php_gd2
open_basedir
=none
error_reporting
=22519
display_errors
=on
error_log
="D:\INETPUB\VHOSTS\somthing.com\logs\php_errors\demo.somthing.com\php_error.log"
session.save_path="ci_sessions" 

CodeIgniter Version : [b]3.1.11[/b]

Live Server : [b]Windows shared hosting[/b]



RE: Session & captcha in Windows shared hosting - php_rocs - 12-30-2020

@nmdinesh,

What error messages are you seeing? Have you determined that the permissions of the session path is correct?