Your CGI will be run fresh each time the user submits the form. If you want data to persist between submits you have to either
- save the data to a persistent store - a file or database
- use a different way to handle the form - I'm not sure of all the options but I think mod_python and FastCGI both keep the CGI process running - or use a server like CherryPy or TwistedMatrix.


Kent


[EMAIL PROTECTED] wrote:
Im trying to make a game where in a dictionary is a list of questions and answers. If i try to output 6 at a time to a cgi script and submit will my script be reset so my delete function of not getting the same question again not work?

if this doesnt make sense ill repost
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Reply via email to