It seems that my cookie is not being set on my Live server as I cannot retrieve any values from it.
I have the following code:
setcookie($cookieName,base64_encode($dataE),time() + 3600,cookiePath,cookieDomain)
where cookiePath is defined as "/"; cookieDomain as "xxxxxx.co.uk"
My php pages are split between a secure and non-secure server. the secure address is "secure.xxxxxx.co.uk" and non-secure is "xxxxxx.co.uk".
First question : is the cookieDomain correct?
Secondly, do I need the path? On my development server, I have removed it as it was causing problems with resetting my cookie but it still exists on Live.