I am trying to setup a cookie, but need to have 2 for 2 different things inside 1 script. What is the best method of doing this?
Fine my code below -
session_name('tzLogin');
session_set_cookie_params(10*365*24*60*60);
session_start();
I am needing to use php setcookie as well. Will 1 cookie method override the other, will they have problems between each other.