"Uma Ramdoss" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hai, > i am writing a simple browser using LWP::UserAgent > i dont know how to make persistent connection. i think > LWP sends connection-close header by default. i used > keepalive header but no use. can anyone help with > code? > Thank You. > -uma
HTTP is a stateless protocol. This means you cant simply turn state on. The best you can do is emulate it. There is a recent article about a module called WWW::Mechanize on perl.com: http://www.perl.com/pub/a/2003/01/22/mechanize.html I haven't used it yet, but it looks pretty slick. It enables a program to surf the web while "low-level" operations like manipulating the LWP object are abstracted away. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]