Thank you for the reply. I am aware of that case what you have mentioned in the post.
Actually i am working on the web tracking site. So, I have used JavaScript code to be installed in the tracking pages. When the page of tracking domain is loaded the JavaScript will call my server's php page and that php page will set the cookie as the visitor id. Then when the vistor goes to the next page, then next page will also call my server's same php script. It checks the cookie whether it is set already or not. Till now it is working properly.
But in some pages of tracking web pages, i have to post some data to my server's same php script page. So i have used curl to post the data. At that time too i want to check whether the cookie has already been set or not. But i could not get the value of the cookie that is already set when the previous page was loaded.
Where I am missing what and what should i do for this. Or this is impossible at all.
Please help me.
Thanx in advance.