in reply to LWP::UserAgent; HTTP::Headers; HTTP::Request; CGI; automated scripts

yeah, I've had a few scripts which have been hung up because of their user agent, although sometimes I think the referrer is also catching them. I actually made a guestbook script which has been catching the user agents of everyone has been signing just so I could see what browser people used - strange that when I wanted to figure out what browser agent to use I had a catalog already at my disposal. Lately I've been mimicking IE5
Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt
As far as I can tell, you've thought of everything I would have, except perhaps some hidden field, or something done with JavaScript or an applet.
  • Comment on Re: LWP::UserAgent; HTTP::Headers; HTTP::Request; CGI; automated scripts
  • Download Code

Replies are listed 'Best First'.
Re: Re: LWP::UserAgent; HTTP::Headers; HTTP::Request; CGI; automated scripts
by Dr. Mu (Hermit) on Sep 24, 2001 at 03:48 UTC
    I think the hidden field theory bears further investigation. There may well be a session ID buried in there. You may need to download the form page each time and capture that field so you can return it.