I want to set a cookie in all my sub domain from my domain.
So that a username can be shared among all the domains.
Please give me a solution for this
Thank you
setcookie("cookiename", "value", 0, "", ".yourdomain.com");
the 0 is the cookie life time.