Did cookie behavior with POSTing change?

2020-03-15 Thread rob--- via curl-library
I've been using cURL for a long time to make automated posts to the phpBB3
forum. Recently, it stopped working. The forum software has not been
changed, so I think this is something in the cURL behavior. I can still
successfully log in to the forum using cURL, and read anything (with GET
requests). But POSTing fails, with a message from the forum that I need to
be logged in. I'm using the same curl handle (with cookie jar) for the GET
and POST requests, which used to work like a charm. From phpinfo(), my
current cURL version is 7.38.0, and the php build date was March 2 (which
may be when things stopped working - I don't recall exactly). I do not know
what the cURL version was before this.

In any case, I'm trying to get back in business, and would appreciate any
pointers as to how to go about this.

Thanks!

Rob

---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

RE: Did cookie behavior with POSTing change?

2020-03-15 Thread rob--- via curl-library
The version is what I interpret from http://pmoz.info/try/phpinfo.php . I
assumed that since the php was recently built, it would also have a new
version of curl. I guess not? This is a shared server, hosted with 1&1, so I
don't have direct influence over what version is used, but if it's indeed
ancient, I'll try to have it fixed.


-Original Message-
From: Daniel Stenberg  
Sent: Sunday, March 15, 2020 5:02 PM
To: rob--- via curl-library 
Cc: r...@robsplants.com
Subject: Re: Did cookie behavior with POSTing change?

On Sun, 15 Mar 2020, rob--- via curl-library wrote:

> I can still successfully log in to the forum using cURL, and read 
> anything (with GET requests). But POSTing fails

cookies are sent exactly the same no matter what HTTP method that's used.

> my current cURL version is 7.38.0, and the php build date was March 2 
> (which may be when things stopped working - I don't recall exactly). I 
> do not know what the cURL version was before this.

7.38.0, are you sure about that? We shipped that version in September 2014
and I'd call it prehistoric. I don't think many still living humans remember
how that version used to work.

> In any case, I'm trying to get back in business, and would appreciate 
> any pointers as to how to go about this.

It's very hard for us to tell anything based on "it doesn't work" combined
with a very old version.

-- 

  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
   | Private help, bug fixes, support, ports, new features
   | https://www.wolfssl.com/contact/

---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html