print $query->redirect(-URL => $url,-COOKIE => [$cookie1,$cookie2]);