taemid has asked for the wisdom of the Perl Monks concerning the following question:

Revered Monks,

I am creating a multiple choice quiz (as a webpage) which contains 100 questions. As I do not want to load all the questions I want to divide them into 4 different pages.

2. Responses are saved in a text file using a local server program - Xitami.

3. As the user click the "Send" button I want to load the next web page.

4. I do not want to srite the code for the second (and thir and fourth) webpage to be written in perl.

So,

Can clicking on the "Send" button load the next page automatically. If yes then how?

Regards

Replies are listed 'Best First'.
Re: Loading a web page automatically
by Utilitarian (Vicar) on Jul 14, 2009 at 06:29 UTC
    You could supply a next_page parameter and then redirect using something like the following
    print "Status: 302 Moved\nLocation: $next_page\n\n";
    A reply falls below the community's threshold of quality. You may see it by logging in.