Overview of features
Home
Read this first
About
web2py is 100% free
Download
Start learning web2py today
Documentation
Authors and contributors
Staff
Affiliated companies
Support
Edit page
Title:
Security Code:
Body:
(use
this
wiki markup)
The proper way to do it is have a self submitting forms that redirect to the destination page. Here are two sample controllers: def page1(): form=FORM('your name:',INPUT(_name="name"),INPUT(_type="submit")) if form.accepts(session.vars,session): session.name=form.vars.name redirect(URL(r=request,f='page2')) return dict(form=form) def page2(): return dict(message='hello %s'%session.name)