crawler_class/libs/CookieCache/PHPCrawlerMemoryCookieCache.class.php
/**
   * Adds a cookie to the cookie-cache.
   *
   * @param PHPCrawlerCookieDescriptor $Cookie The cookie to add.
   */
Adds a cookie to the cookie-cache.

@param PHPCrawlerCookieDescriptor $Cookie The cookie to add.
Adds a cookie to the cookie - cache . @param PHPCrawlerCookieDescriptor $Cookie The cookie to add .
public function addCookie(PHPCrawlerCookieDescriptor $Cookie)
  {
    $source_domain = $Cookie->source_domain;
    $cookie_domain = $Cookie->domain;
    $cookie_path = $Cookie->path;
    $cookie_name = $Cookie->name;
    $cookie_hash = md5($cookie_domain."_".$cookie_path."_".$cookie_name);
    $this->cookies[$source_domain][$cookie_hash] = $Cookie;
  }
public function addCookie ( PHPCrawlerCookieDescriptor $ Cookie ) { $ source_domain = $ Cookie -> source_domain ; $ cookie_domain = $ Cookie -> domain ; $ cookie_path = $ Cookie -> path ; $ cookie_name = $ Cookie -> name ; $ cookie_hash = md5 ( $ cookie_domain . " _ " . $ cookie_path . " _ " . $ cookie_name ) ; $ this -> cookies [ $ source_domain ] [ $ cookie_hash ] = $ Cookie ; }
Adds a cookie to the cookie-cache.
Adds a cookie to the cookie - cache .