[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

session_start() not working over SSL

Posted on 2011-09-19
3
Medium Priority
?
345 Views
Last Modified: 2013-11-18
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.
0
Comment
Question by:aiscom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 36563893
You need read/write permission on the 'session_save' directory.  Look in 'php.ini' and see if "C:\Windows\TEMP\" is the correct directory.  Don't know why SSL would change that though.
0
 

Accepted Solution

by:
aiscom earned 0 total points
ID: 36589309
I had tried giving everyone full access to C:\Windows\TEMP but that didn't work either.

When I looked at the problem the next day it was fixed, so I'm not sure what solved the problem.
0
 

Author Closing Comment

by:aiscom
ID: 36715402
Solution given didn't work, but the problem resolved itself
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question