how to set the cookies in the system
Where/what is 'the system'?
the cookie is initially set by the server. It passes a SetCookie field to a browser that connects to that server. The browser saves the cookie.
The next time the browser connects to that server, it passes a Cookie field in the request header with the value of the cookie it received from the server.
For your program to get a cookie:
1)have your program connect to the server and be assigned a cookie that it saves, just like a browser does
2)somehow get the current cookie value that is in your browser and code that into your program.
[ June 20, 2008: Message edited by: Norm Radder ]