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

curl-and-php

Re: session and NO cookies

From: Walid Al Masri <walidm_at_scs-net.org>
Date: Wed, 5 Nov 2003 03:12:31 +0300

i got the header :)

GET http://www.salamisms.com/smsSend.asp HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword, application/x-shockwave-flash,
*/*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
Host: www.salamisms.com
Proxy-Connection: Keep-Alive
Cookie: ASPSESSIONIDCQTARRSR=HMGOMMKCBGDOIDFIHPOKJEEI

and as you said there is a Cookie:)

so what i have to do the use this option :)

----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "curl and php list" <curl-and-php_at_lists.sourceforge.net>
Sent: Tuesday, November 04, 2003 5:08 PM
Subject: RE: session and NO cookies

> On Tue, 4 Nov 2003, beshoo wrote:
>
> > The target site did not use the cookies
>
> It didn't use what cookies? How do you know it doesn't use cookies?
>
> > and there is no cookies file saved on the cookies folder.
>
> Only cookies that are marked to have a life-time is saved there by
browsers.
> It could use a bazillion "session cookies" without you ever seeing them
saved
> on disk.
>
> Check the headers you get from the site.
>
> > What I sent to the target site is :
> >
> > Username val.
> > Password val.
> >
> > And some val. to post
>
> And you are sure you send the correct data, properly encoded and all
fields
> exactly as a browser would?
>
> > What can I do with CURL to do that by code ?
>
> Fill in the right data and use the right options.
>
> I believe the site *is* using cookies and that you'll succeed the moment
you
> tell curl to deal with them.
>
> --
> Daniel - been obfuscating curl source code since 1998.
> [[ Do not post private mails to this email address. They won't reach
me. ]]
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
>

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-11-05