in reply to Re^2: PERL CGI Form Processing while URL change
in thread PERL CGI Form Processing while URL change

Page http://localhost/cgi-bin/env.pl also contains same form code as present on homepage.

If that were true, then it stands to reason that the 2 pages would behave the same. Since they don't, I suspect there is a difference.

  • Comment on Re^3: PERL CGI Form Processing while URL change

Replies are listed 'Best First'.
Re^4: PERL CGI Form Processing while URL change
by msinfo (Sexton) on Jun 06, 2013 at 20:55 UTC

    Actually code is same in both pages, for form. And what I found was, when first I make search on homepage, using same form, it give results and page/url migrates to env.pl, where same form is present, now when I search again using same form, it works an prints results. But next time, i.e second time on env.pl, it breaks.

    I also don't know what is the reason for working at first time, and not working at second time. Now, I am using cg::ajax, so now this is no problem for me, but I would like to hear some reason for it, to increase my knowledge.

    thanks for your time