January 28, 2023


The complete guide to the beginners as well as to the experienced Web Developers

‘C:\Windows\Temp’ is not writable -Codeigniter session

‘C:\Windows\Temp’ is not writable by the PHP process, Codeigniter session not work in Windows server.

When you haven’t access to change the permission of ‘C:\Windows\Temp’ then store session in a database instead of the path.

Go to Application/config/config.php and change session configuration as per below


ci_sessions table structure