I am submitting a form using Django
. All things went well until I hit back button. This is the time IE displays "The wab page has expired.
"
I have searched a lot, but can not find the exact concept to do it right.
- Open page with get request .
/user/search/
- Post request with form data on the same page
/user/search/
[Optional]
Either change params and POST- Hit back button.
In both cases you will get webpage Expired. Please guide me how to make this work & avoid the error message?
You shouldn't be using POST for search forms. POST is for actions that change data on the server. Use GET and you won't have this problem.
I am submitting a form using Django
. All things went well until I hit back button. This is the time IE displays "The wab page has expired.
"
I have searched a lot, but can not find the exact concept to do it right.
- Open page with get request .
/user/search/
- Post request with form data on the same page
/user/search/
[Optional]
Either change params and POST- Hit back button.
In both cases you will get webpage Expired. Please guide me how to make this work & avoid the error message?
You shouldn't be using POST for search forms. POST is for actions that change data on the server. Use GET and you won't have this problem.
0 commentaires:
Enregistrer un commentaire