curl-users
Re: Cookie problem with POST/HTTPS connection
Date: Thu, 11 Mar 2004 14:05:48 +0000
yes, you are correct in your understanding.
thanks for making me take another look at this. from looking at the
headers and my browsers cookies it seems the session id is not being
set. the id i am given specifies a path, which may be the problem.
obviously the path of the server and the location i am in on my local
server do not correspond. would this stop the browser from setting the
cookie? also, as i am posting to https, a secure connection is being
made. i notice on my local box, after using curl, a secure connection
has not been made. the cookie may be being defined as one that needs
https.
i've tried a quick fopen/setcookie to read from the cookier jar file and
reset the path, "/", but from my understanding of php that cookie wont
be available in the current session. tests seem to prove this.
is there a way to change the cookie held in the cookie jar, to reset the
path, so that when cookiefile is called, to read and set cookies, it
does what i need it to do?
thanks
paul
Received on 2004-03-11