object cookie;
Cookie cookie;
int cookies_fromstring(string s){	string *arr;	int i;	if(s && s != "") {		arr = explode(s, ";");		for(i = 0; i < sizeof(arr); i++) {			object cookie;			cookie = new_object(HTTP_COOKIE);			if( cookie->fromstring(arr[i]) ) {				set_cookie(cookie);			} else {				SYSLOG("Error onverting cookie: " + arr[i] + " to object.\n");			}		}	}	return TRUE;}