CodeIgniter Forums
Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w (/showthread.php?tid=70335)



Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w - ktmonty - 03-27-2018

Hello i am using Version 3.1.8. i have created application on xampp  server and deploy it on iis server now  i am gating "Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not writable by the PHP process"  this error. on the page where i did not use session.

Thanks.


RE: Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w - jreklund - 03-27-2018

Check your path in your php.ini file. And change it.


RE: Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w - XtreemDeveloper - 03-29-2018

Change your Session store path and give the folder permission of 0777

By:Xtreem Solution

**SEO spam redacted**


RE: Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w - Paradinight - 03-29-2018

(03-29-2018, 05:37 AM)XtreemDeveloper Wrote: Change your Session store path and give the folder permission of 0777

By:Xtreem Solution

[Highly Skilled Laravel Developer](xxx)

[Dedicated PHP Developer](xxx)

Wrong answer and seo spam... Windows != unix

@ktmonty, do you use codeigniter session? if yes, set the session save path to application/tmp/session


RE: Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w - InsiteFX - 03-30-2018

This is how I do it on Windows 10 Pro x64

1) Create a new directory under ./application called writable

2) This is how I setup my sessions for files.

PHP Code:
$config['sess_driver'            'files';
$config['sess_cookie_name'       'pcfx_session_';
$config['sess_expiration'        7200;
$config['sess_save_path'         APPPATH.'writable';
$config['sess_match_ip'          FALSE;
$config['sess_time_to_update'    300;
$config['sess_regenerate_destroy'] = FALSE

This works like a charm on Windows.


RE: Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w - silvanos - 09-19-2019

Many years later but for me, I had to change the following line in config.php from 

PHP Code:
$config['sess_save_path'] = NULL


To:


PHP Code:
$config['sess_save_path']          APPPATH.'application/logs'