| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php Archives
Re: curl, php, and cookies
From: Murias O'Ceallagh <lists_at_dragonsblood.net>
Date: Fri, 23 Dec 2011 11:12:23 -0800
David,
I have spent the better part of about a week and a half studying cURL, and various tutorials, seem though to then having an understanding issue with cookies and cURL. *grumble*
vBulletin has a convoluted login process, to a degree that any remote login script really needs to include the creation of most of the cookies. Specifically the ones that never get altered while staying logged into the site. These cookies then never get set in the return headers from vBulletin.
Now we enter the realm where I am completely fuzzy with cUrl; It is my understanding that cURL only writes cookies to the cookie file from the headers of the returned headers. How does one then get cookies into the cookie file when the local script is setting the cookies? The other thing I have noticed is that occasionally cURL seems to want to delete cookies from the cookie file if they were not set in the headers, keeping only those that were set. How then to keep those cookies in the cookie file?
Hoping now to start shedding light on my confusion of curl and cookies.
Thank you for this discussion.
Cheers
On Dec 22, 2011, at 6:00 PM, David Colter wrote:
> Murias,
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info