2 HttpRequestDataShare global
6 checkurl("www.google.com");
7 checkcls("HttpRequestDataShare");
13 $s = HttpRequestDataShare::singleton(true);
17 $r1 = new HttpRequest("http://www.google.com/");
18 $r2 = new HttpRequest("http://www.google.com/");
31 if (current($r1->getResponseCookies())->cookies["PREF"] !== HttpUtil::parseCookie($r2->getRequestMessage()->getHeader("Cookie"))->cookies["PREF"]) {
33 current($r1->getResponseCookies())->cookies["PREF"],
34 HttpUtil::parseCookie($r2->getRequestMessage()->getHeader("Cookie"))->cookies["PREF"]
42 object(HttpRequestDataShare)#1 (4) {