When you have multiple pages, and the content of each one depends on the one's before it, you need a way of maintaining 'state'. HTML is a stateless protocol, so this can be a little tricky. There are many ways to deal with this problem: passing data in the URL, passing data with hidden parameters, passing data with cookies, etc. But the BEST way (IMO) is to use something like CGI::Session, which plays nicely with CGI::Application, BTW. This lets you maintain state on the server side, and all you have to store client side (via cookie) is a unique session ID.
In reply to Re: Perl CGI - multiple pages
by scorpio17
in thread Perl CGI - multiple pages
by perlonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |