Wanting2LearnMan
asked on
clear POST information
I have a small python/django web site and I'm using a html form POST some information, annoyingly however this information is stored in POST so when a user refreshes in say IE/chrome they get that warning message about the page containing POST data. How do I clear the POST data after it has been processed so a user can refresh and not see this warning message?
Also I have some logic as follows that detects a POST
How can I solve this also??
Thanks
Also I have some logic as follows that detects a POST
if request.method == "POST":
blah blah
This is fine when I actually post the form, but when I refresh the page it also detects the POST and does the logic that I now dont want to do.How can I solve this also??
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.