Hello all,
I am sorry if there is already a thread on this issue but I didn't find anything...
I would like to use a simple cookie to check the user session validity on each page of my website. So I tried to set the cookie as following :
On my local server the cookie is created as expected, but this same code on the boru server return "unable to create cookie".
So I guess I am doing something wrong maybe something to configure ?
I am sorry if there is already a thread on this issue but I didn't find anything...
I would like to use a simple cookie to check the user session validity on each page of my website. So I tried to set the cookie as following :
PHP:
setcookie("userSession", "true", time()+3600) or die('unable to create cookie');
On my local server the cookie is created as expected, but this same code on the boru server return "unable to create cookie".
So I guess I am doing something wrong maybe something to configure ?