Example: web.add_cookie

In the following example, the add_cookie function adds a cookie with the name "client_id" to the list of cookies available to the script.

web.add_cookie ("client_id=China127B; path=/; expires=Wednesday, 09-Nov-2001 23:12:40 GMT; domain=www.cnn.com"); // for Java