in reply to Re: LWP form post example not working
in thread LWP form post example not working
I have added the line you suggested and still no luck logging in to the site. Since my php code is using sessions it does set the Set-Cookie: header to a PHPSESSID but once the post is finished that cookie is no longer valid. I tried to do a get on the login page an put that cookie in a variable and then tried to set that header on the post but that did not work either since the new cookie was different. I printed them out as I got and set them to make sure of that.