Example: web_reg_add_cookie

In the following example, web_reg_add_cookie function registers a search for the text string, "Darcy." If the string is found in the next page downloaded, the cookie is added.

web_reg_add_cookie ("client_id=RosingsPark127B; path=/; expires=Wednesday, 09-Nov-2011 23:12:40 GMT; domain=www.pemberley.com", "Text=Darcy");