prevent using back button
-
i knw that this sounds crazy but i am preparing a web page for elections and i want the user after submitting his\her choices not to go back to the choices page to change the choices please help abdelhameed81
-
i knw that this sounds crazy but i am preparing a web page for elections and i want the user after submitting his\her choices not to go back to the choices page to change the choices please help abdelhameed81
Use database instead. When a user makes a choice save this as an information for that user as "UserHasMadeChoice" column and make its value 1. Then when the user makes a choice first you control this value for that user. If UserHasMadeChoice is 1 then you show a warning like "You have already made a choice"
-
Use database instead. When a user makes a choice save this as an information for that user as "UserHasMadeChoice" column and make its value 1. Then when the user makes a choice first you control this value for that user. If UserHasMadeChoice is 1 then you show a warning like "You have already made a choice"
ic3b3rg3 wrote:
Use database instead.
Instead of what? Set a session variable to indicate the page visited then check it when the page loads, if it indicates a page has already been visted, then redirect to another page.
only two letters away from being an asset
-
i knw that this sounds crazy but i am preparing a web page for elections and i want the user after submitting his\her choices not to go back to the choices page to change the choices please help abdelhameed81
-
i knw that this sounds crazy but i am preparing a web page for elections and i want the user after submitting his\her choices not to go back to the choices page to change the choices please help abdelhameed81
open your site onto a browser page without controls, your users wont have the change to use the browsers bars
keep Learning...