Hello folks,

I've got a quick question about curl that l was hoping someone would be able to help me out with.

I was reading over at http://curl.haxx.se and found this article:
http://curl.haxx.se/mail/curlphp-2004-09/0042.html

In which the following is said:
----
> curl_close ($ch);
> $ch = curl_init();
If you don't close and re-init, you may not even have to save the cookies to a file, and just let curl keep them in memory.
----


Now l'm pretty new to curl, and was wondering how l is it possible to "let curl" keep cookies in memory without creating or writing to a file (ie COOKIEJAR)?

If someone could post an example script for me to review and work off of l would greatly appreciate it

Thanks again,