Reply to Re: Simple stateful web page using Perl

Your name:

Reply:


Posted by mbstevens on 09/15/06 14:58

On Fri, 15 Sep 2006 07:09:06 -0700, carlg wrote:

> Sorry if this is the wrong place for this question, but the Perl people
> tell me it's a cgi programming question. I looked for a cgi programming
> group but couldn't find one, so I hope this is a good place to ask the
> question. ;-)
>
> How would I write a simple web app in Perl+cgi that has state? Let's say
> I just want to have a web page that has an input field, an Accept button
> and a Clear button. Whenever I type some text into the field and click on
> Accept it concatenates the text in the field with an existing string and
> displays it on the web page. So I can submit a few
>
> words one at a time and make a sentence. Clicking the Clear button lets
> me start over.

In order of my own preferance:
1) Let cgi.pm handle it (read docs on cgi.pm)
2) set a cookie
3) generate hidden fields in a web page

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация