cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Re: FRAMES pages does not load

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 May 2003 10:46:29 +0200 (CEST)

On Fri, 9 May 2003, imran khalid wrote:

> I am successfull to access the page by using cookies as
>
> curl_setopt($ch, CURLOPT_COOKIEJAR, "cook");
> curl_setopt($ch, CURLOPT_COOKIEFILE, "cook");
>
>
> Now the next problem is that this page works fine for first time and will
> not work second time.

Well, the first time the 'cook' file is empty (or non-existant) and the next
time you probably have cookies in there. Perhaps you should start with
clearing the file then.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
Received on 2003-05-09