Browser back button
-
:laugh:I have a label in my page that display an error when it find it. This is what it does. The user enters a value in a text box, It looks in a database and if does not find the value displays a label saying that that value does not exist and to type another value. When the user types a correct value it redirect to another page with the results for that value. When the user hit the back button in the browser the label is disply again saying that the value does not exist, but it does. How can i disable this label after the page is redirected so when the user hit the back button that label is not display ? Thanks:laugh: Javierarka
-
:laugh:I have a label in my page that display an error when it find it. This is what it does. The user enters a value in a text box, It looks in a database and if does not find the value displays a label saying that that value does not exist and to type another value. When the user types a correct value it redirect to another page with the results for that value. When the user hit the back button in the browser the label is disply again saying that the value does not exist, but it does. How can i disable this label after the page is redirected so when the user hit the back button that label is not display ? Thanks:laugh: Javierarka
Im not sure if it works, though try a javascript function in onload of that page which does history.clear. Search for it on web...
-
:laugh:I have a label in my page that display an error when it find it. This is what it does. The user enters a value in a text box, It looks in a database and if does not find the value displays a label saying that that value does not exist and to type another value. When the user types a correct value it redirect to another page with the results for that value. When the user hit the back button in the browser the label is disply again saying that the value does not exist, but it does. How can i disable this label after the page is redirected so when the user hit the back button that label is not display ? Thanks:laugh: Javierarka