I want to require a re-post of form information before the user is allowed to access one of my web pages, and restrict the result page from being cached. One responder suggested using the HTTP header() function. I thank him/her for their help.
1) Is there a web page that EXPLAINS in DETAIL the format, syntax, and options for the 'header()' function of HTTP.
2) In a PERL script to generate a dynamic web page, what additional code is required or suggested before and after the command:
print header (-type=>'text/html',
-cache_control=>'no-cache',
-expires=>'-1d',
-nph);
Where does the following command enter into this solution?
print "Content-type: text/html\n\n";
What commands print the rest of the result page text ?
1) Is there a web page that EXPLAINS in DETAIL the format, syntax, and options for the 'header()' function of HTTP.
2) In a PERL script to generate a dynamic web page, what additional code is required or suggested before and after the command:
print header (-type=>'text/html',
-cache_control=>'no-cache',
-expires=>'-1d',
-nph);
Where does the following command enter into this solution?
print "Content-type: text/html\n\n";
What commands print the rest of the result page text ?