Darren Young wrote: > > I have a scipt that connects up to out site and does a login. Part of > our login process is to set a few cookies on the client for pages to > use. The cookies are only good for the session, however for this test > script I want to save the information for posting to other pages. I'm > looking for some recommendations on how to do this. I thought maybe > parsing the headers and looking for the Set-Cookie lines or perhaps > using the HTTP::Cookies module somehow. Any pointers would be most > helpful.
see perldoc HTTP::Cookies BTW, "Set-Cookie:" header is used by server-side to "set" the client-side cookie, "Cookie:" header contains any that were sent from the client.