cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re[4]: Sessions in CURL

From: Vladimir <vladkalmik_at_yahoo.com>
Date: Tue, 12 Jun 2001 14:19:51 +0300

Hello Daniel,

Tuesday, June 12, 2001, 12:18:45 PM, you wrote:

DS> On Tue, 12 Jun 2001, Vladimir wrote:

>> I accessed two pages consecutively and I looked to the headers
>> I have two diferent cookie strings
>> Set-cookie: ASPSESSIONIDQGQGGQEU=PAOHINOCEGKHLDMEGHOEPIGO => first
>> page (I logged in).
>> Set-cookie: ASPSESSIONIDQGQGGQEU=BBOHINOCBAJIFHIJJHNKEFHD => second
>> page. (I try to send form).

>> It seems to me they must be the same, am I right?

DS> You mean to received those cookies, right? So, did you pass that cookie back
DS> when you requested the second page?

DS> We can only guess what the cookie's contents should be. If they keep state
DS> information in the cookie, it is quite possible that you get different
DS> contents back after each call as you change state... After all, keeping local
DS> state is what cookies are made for.

OK right. It seems to be so.
I am trying to send so kind of form and I cannot send it.

Something like
<form name="Form" method="post"
action="index.asp?UserName=something&somedata=somedata">
<input type="radio" name="Type" value="Common" onClick="document.Form.submit()">
<input type="radio" name="Type" value="Other" onClick="document.Form.submit()">

That is all
Itry to send from CURLOPT_POSTFIELDS
$request="UserName=something&somedata=somedata";
But no results. Any thougth???

-- 
Best regards,
 Vladimir                            mailto:vladkalmik_at_yahoo.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Curl-and-php mailing list
http://curl.haxx.se/
Received on 2001-06-12