I have domain test1.com to create cookies to another domain with path for example.edu.in
but i have try this following way but it is not working
setcookie("user_id",$user_id,0,'/login/','www.example.edu.in');
setcookie("user_id",$user_id,0,'/login/','example.edu.in');
setcookie("user_id",$user_id,0,'/login/','.example.edu.in');
Please give me solution to access this cookies in example.edu.in