in reply to Re: meta="Refresh"
in thread meta="Refresh"

Well, I tried, but then I loose the session and I have
to do the login again.

Replies are listed 'Best First'.
Re^3: meta="Refresh"
by perrin (Chancellor) on Nov 22, 2006 at 16:23 UTC
    How can you tell you lost the session?
      because of the response-page ..
      This is what I get if use $m->follow_link( n => 0 ) after form_submit
      <html><head> <meta http-equiv="Refresh" content="0;url=index.php?part=timeout"> </head> <body>Session lost<br> <a href="index.php?part=timeout">Click here to go back to the login pa +ge</a> <a href="index.php?part=timeout"></a></body></html>
      Of course I tried $r->follow_link, but the r-object has
      no header, so it is not meant to be treated that way
        You probably need to try it with a browser, while watching the headers that get exchanged. See if there are cookies involved, and see if Mechanize is getting them or not.
        A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.