I am running a Web App with a series of $_SESSION variables attached to a certain domain.
I am able to capture the session vailable by passing in the session id.
But, my problem is trying to set setcokkie() in secure server.
i tried using this example to seta cookie in the secure server
setcookie('cart_id', $cart_id, time() + 14400, '/', '.example.com/some/');
or
setcookie('cart_id', $cart_id, time() + 14400, '/', '.example.com');
but when u try to read the cookie it displays empty arrays.
Any sugggestion on setting a cookie and reading a cookie in secure server?
Note the cookie works fine in nonsecure server.
Thx