I'm transferring a site from another host and am setting up some custom PHP files used for logging in a user. Once the user is logged in, they have access to some pages that are normally not accessible.
I am having a problem with cookies being transferred between pages. The login script works fine on the old host. I've used the following line for debug:
This results in the following response:Code:var_dump($_COOKIE);When I do the debug on the old host, there is a fully populated array that includes the cookie.Code:array (0) { }
Since this script works properly on the old host, I'm wondering if there is a server or PHP setting that needs to be changed. Anyone have ideas?
PHP version 5.5.20 on Glowhost, 5.4.35 on old host (Both Linux Apache 2.2.29)