apache - Cgi script wont refresh form -
i'm writing cgi script using bash , form submitted url form , won't refresh if alter code take less queries.
echo '<form method=get action="addstudent.sh?a=fname&b=lname&c=jdate&d=lpay&e=add&f=pname&g=pphone">'
when changed still submitted fname , not tname
echo '<form method=get action="addstudent.sh?a=tname&b=lname&c=jdate&d=lpay&e=add&f=pname&g=pphone">'
when changed this, url still contained previous queries.
echo '<form method=get action="addstudent.sh?a=tname">'
is issue browser, apache setup, or code?
the query string specify on action url dropped , replaced form contents because utilize get. if didn't alter in actual form elements, results in identical gets same url, cached browser.
the solution add together parameters form elements instead, , perhaps add together 'cache-control: no-cache' header if plan on submitting same values on , over.
apache bash cgi
No comments:
Post a Comment