On Mon, 2011-08-29 at 13:04 -0700, digistam wrote: > In my project I have different pages. All pages have a textbox in a > search form. When I enter text in the search form textbox and as long > as I stay on the same page, the contents of the text box stays > available. When I go to a different page, the text box is empty again.
You could use sessions to store the last used query string, or you could store it in a cookie using JavaScript (jQuery-cookie, for example). Look at the documentation for sessions in web.py. -- Branko Vukelic [email protected] [email protected] Lead Developer Herd Hound (tm) - Travel that doesn't bite www.herdhound.com Herd Hound on GitHub http://github.com/HerdHound/ -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
