in reply to Re: WWW Mechanize (redirect_ok) problem
in thread WWW Mechanize (redirect_ok) problem

Hi, Thanx for reply. The redirection is implemented like: page A displays page B
page B will be displayed STILL COM wrappers sends a signal like yes or no. If yes page C is displayed and on no page D is diplayed. Its a server side redirect based on yes/No from COM Wrappers. regards amar
  • Comment on Re^2: WWW Mechanize (redirect_ok) problem

Replies are listed 'Best First'.
Re^3: WWW Mechanize (redirect_ok) problem
by gargle (Chaplain) on Sep 21, 2005 at 11:57 UTC

    Hi,

    Based on what you just said it seems you don't use http redirect.

    So I think you don't need the redirect_ok() but should check instead the html you receive to determine in which page you are.

    --
    if ( 1 ) { $postman->ring() for (1..2); }