lordluke_80 0 Newbie Poster

hi everyone. hi have a template with a form and many inputs that pass some data trough a POST request to a view, that process them and send the result to another template. in the final template, if i use the browser back button to jump to the first view, i can see again old data. i refresh the page, old data are flushed, and i insert new data, i submit again but some old data remains when i see the final view. the problem remain even if i restart the debug server. it seems that there's some data-caching problem that i can solve only flushing browser cache (and sometimes not). this is the view code: http://dpaste.com/643569/ and the first template code: http://dpaste.com/640960/. someone on stackoverflow.com said me that is 'cache navigator' that control it, and suggest me to use a custom middleware to disable it: http://stackoverflow.com/questions/7921457/django-post-request-data-caching, so i followed the advice. i also added the pragma no cache meta tag in the html head section, but none of these helped. the problem remains.
any suggestion?

thanx - luke

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.