I have a cookie set with these (very limited) parameters
Currently if I call that via PHPPHP Code:
setcookie ('username2', $username);
, it only works in my "/login/" directory and not my main directory.
What addl parameters do I need to add to that so it will work everywhere?
(I bet this is something very simple)
Edit: Trieddidn't work.PHP Code:
setcookie('username2', $username, '/', 'MyWebsite.com');