Template appends Data at Refresh

11 views
Skip to first unread message

Rainer Hihn

unread,
Dec 10, 2012, 5:49:53 AM12/10/12
to we...@googlegroups.com
Hi Folks,

I got a little web.py-Script which takes the GET-Data of a Formular and uses popen to grep this input-data in a textfile.
Now every time, I call the page with the search term in the url, the results of the grep command get appended to the list in the template.
But why this? I already render the template with cache=false and the grep command works fine. For example, it returns 1 line from the file and this line gets append every time I refresh the page.

I can provide code snippets, but as I am new the web.py I'm not sure which one.

Greetings!
Reply all
Reply to author
Forward
0 new messages