in Education by
I have a html file with a form: (I 'have to' use method="get", because when I use method="post" I get weird 'Page expired' problems with the 'back' button in Internet Explorer 8) The resulting page shows this in the address bar: http://www.mydomain.com/bin/a_python_script.cgi?var1=a+variable&var2=another+variable&Submit=submit+this My preferred output in the address bar would be: http://www.mydomain.com/bin/a_python_script.html How do I hide everything after ".cgi?" ? And can I change ".cgi" into ".html" ? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Unfortunately, there are no options other than changing the form method from 'get' to 'post'. GET encodes all of the form fields into the URL. There's no way to hide anything without removing the data. A quick Google search for "prevent page expired message" turns up quite a few results (the examples are mostly PHP, but the concept could be transferred to any language): Google - prevent page expired message

Related questions

0 votes
    I want to calculate browser height without considering browser address bar and bottom navigation bar height. The ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I want to calculate browser height without considering browser address bar and bottom navigation bar height. The ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 24, 2022 in Education by JackTerrance
0 votes
    Suppose I have a model Order, which has a column num -- an order number. Now I want to filter ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
0 votes
    9. Cancel button (x on formula bar) can be used to undo a cell entry after it has been completed (a) True (b) ... ) Alt+P (d) Ctrl+P Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    In CGI, process starts with each request and will initiate OS level process. (a) True (b) False This question ... & Servlet of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
0 votes
    What Are The Problems Faced While Uploading The Cgi Scripts?...
asked Sep 26, 2021 in Technology by Editorial Staff
0 votes
    How is everything treated in HTML DOM? (a) Node (b) Attributes (c) Elements (d) Arrays This ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    This is my pretty simple C++/CMake .travis.yml env: global: # The next declaration is the ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 21, 2022 in Education by JackTerrance
0 votes
    is a short-term storage area that holds everything that you have cut or copied. O Recycle Bin O Trash O Clipboard O Desktop Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Give scientific reasons: Destroying trees is to destroy everything. Select the correct answer from above ... proposed by,electromagnetic theory engineering physics,Science nptel...
asked Nov 7, 2021 in Education by JackTerrance
0 votes
    Which of these is a wrapper around everything associated with a reply from an http server? (a) HTTP ... questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Transaction processing is associated with everything below except (a) Producing detail summary or exception reports ... Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    been working on some database data calling into a .php file. The php file contains an "Add" button ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
...