php - $_SESSION variables not carried over on HTTPS -


I am developing a site on my local host, where everything is fine, but the site is now uploaded to HTTPS. Our inserted online / insert server, $ _ session variable login does not take from WP Index Both on the .php page are located on HTTPS, the process never goes out of HTTPS. As I said, everything works fine on my localhost.

My local host has PHP 5.3.2 version and HTTPS server is 5.2.6. The only difference in settings is that the session can identify about session.use_only_cookies is at on my localhost and off on the HTTPS server.

Should someone shed some light as the variable of the session is not being moved? PS

"post-less" itemprop = "text">

have you checked that the session cookie is between HTTP and HTTPS requests? And is the same session token present on both sides?

If the cookie installed via HTTPS page is marked as "secure only", then it will not be transmitted to non-SSL pages, so you have a new blank on non-secure pages The session will be received, which will tell you the symptoms of the "missing" session variable. They are not actually in some other sessions, which are no longer active.

Comments