--- Keary Suska <[EMAIL PROTECTED]> wrote:
> on 7/12/02 12:08 PM, [EMAIL PROTECTED]
> purportedly said:
> 
> > Hi,
> > 
> > I am wondering if i provide sufficient
> header(using
> > refer,agent) and cookie, is it enough to fool the
> > server side(http) so that it thinks i am coming
> from
> > browser not LWP or others( with some download
> program
> > flashget etc, i can set my own agent,refer)?
> > i want to know if there is other thing i need to
> know
> > to ger around with it.
> 
> It is generally sufficient simply to use any browser
> user agent.
> 
> > by the way, i asked a cookie question
> >
>
http:[EMAIL PROTECTED]/msg03818.html
> > days ago. Gisle 's answer seems to mean that the
> way i
> > am using is correct or sufficient to get cookie.
> but i
> > sitll get no go at all.  anyone can help?
> 
> I ran your code on my machine and the URL you use
> does not set any cookies
> (that is, there are no set-cookie headers), hence,
> there will be no cookies.
> Did you actually look at the headers of the page to
> see if cookies *should*
> have been set?
> 
> Another
> 
> Keary Suska
> Esoteritech, Inc.
> "Leveraging Open Source for a better Internet"
> 
you didn't try the mailist url, did you? 
i run ethereal and it shows that there is cookie being
set during the page process.
http://fwcgames.yahoo.com/cocacola

below is what ethereal captured.

GET /cocacola HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, */*
Accept-Language: zh-cn,zh-hk;q=0.7,en-us;q=0.3
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.1)
Host: fwcgames.yahoo.com
Connection: Keep-Alive
Cookie: B=bjmooasui6p58&b=2;
Q=q1=AACAAAAAAAAAfQ--&q2=PSOGmg--; C=mg=1;
Y=v=1&n=dg7p
l3rug29ko&p=


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

Reply via email to