On Tue, Apr 14, 2009 at 10:49 AM, mdipierro <mdipie...@cs.depaul.edu> wrote: > with "press the return button in my browser," do you mean the "back" > button? > > I am not sure how to avoid this. Any advice?
It's a "Django way of develop" that I like. Django's manual teach some good Web programming practices. :-) You can do this creating a controller to show the form, other to get information (in web2py, we use the same) and after processing information received (with form.accepts()), you have to redirect user to other page (it can be the same controller with other args, like msg='Your app were created' and it can do response.flash=request.args[0]). So, the good way to do is always redirect user to other page after process a form. Never show information in same page that was requested as a POST method - this page has to process data and redirect. -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---