--- Scott Rossi <[EMAIL PROTECTED]> wrote:
> Is there any way to simulate browser cookie
> behavior/functionality from MC?
> 
> For example, if I script:
> 
>   get url "http://www.coolsite.com"
> 
> Is there some way to send what would otherwise be
> cookie information along
> with this URL?  If possible, would the cookie info
> simply be appended to the
> address or does it need to be handled differently
> than a parameter?

--- Reply

Using HTTPtracer I found that when I access a NYTimes
page (which requires a logon password)the browser
sends the following (see below). Notice that the
cookie has its own line: it is not appended to the
address. The actual cookies are much longer, I just
shortened them to fit into the email. Others on the
list most likely can post a script that opens up the
socket and sends the cookie header along with the
other headers, then waits for a reply. But it doesn't
seem that the GET or POST that is built into Metacard
can do it.

 ---- HTTPtracer output of request with a cookie

GET /reuters/technology/tech-gateway-earns-dc.html
HTTP/1.0
Accept: */*
Referer: http://www.nytimes.com/
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows
98; DigExt)
Host: www.nytimes.com
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: RMID=c; RDB=C; NYT-S=1; EmailAd=toshiba10-nyt2

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to