in reply to Re: Maintaining sessions with WWW::Mechanize across script instances?
in thread Maintaining sessions with WWW::Mechanize across script instances?

That was it! Saving and loading the cookie jar, apparently, wasn't actually sending the saved cookie in the next request. I'm not sure why, but I'm just manually setting the cookie header before the form submit and that solves the session problem.
  • Comment on Re^2: Maintaining sessions with WWW::Mechanize across script instances?