session_start() not working over SSL
Posted on 2011-09-19
I get the following error in my php_errors.log file when accessing a file that uses session_start() over ssl:
[19-Sep-2011 21:52:58] PHP Warning: session_start(): open(C:\Windows\TEMP\\sess_ihq9ssb4n051vv5cg5rcbt39f3, O_RDWR) failed: Permission denied (13) in \\the\path\to\the\file\public_html\index.php on line 2
(obviously it has the actual path though)
It works fine over regular http, just not https. Files that don't start a session pull up fine over ssl. This is on IIS7 on Windows Server 2008.