cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Handle multiple requests within the same session using cookies

From: Angelo Di Iorio <diioangelo_at_gmail.com>
Date: Sun, 7 Oct 2012 21:06:41 +0200

Can you please explain me how should I put the HTTP traffic on the
mailing list? Should I copy and paste the traffic sniffed from
wireshark (the tool I use) ? Thanks, I appreciate your help!

2012/9/24 Daniel Stenberg <daniel_at_haxx.se>:
> On Sun, 23 Sep 2012, Angelo Di Iorio wrote:
>
>> My data is a simple URL (that will be analyzed and inserted into a
>> database), followed by an optional POST data (depending from what function
>> I'm using). The problem is, if I try to keep a session via cookies, and I
>> run few times a function in order to insert, for examples, 10 sets of data
>> into the database, it doesn't mantain a session at all, so I can insert only
>> the first request into the database, while the others get rejected due to
>> the login phase.
>
>
> This description in combination with your code snippet is unfortunately not
> enough for us to pinpoint the problem. You seem to be assuming that this is
> a cookie problem but you don't show any HTTP traffic of a faulty session nor
> from a working session so A) we can't see the problem and B) we can't
> suggest what the problem might be that causes (A).
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-- 
Angelo Di Iorio
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-07