How to show 'expiry page' when user click 'back' button in browser ?

D

Darick

I face a problem when i try to develope a e-commerce program.

i want to show customer 'expiry page' when they try to click 'back'
button on the checkout page.
may i know how to do that ? i personally check the forum and try the
following command.

#!/usr/bin/perl
print "Content-type: text/html\n";
print "Pragma: no-cache\n";
print "Expires: -1\n";
print "Cache-Control: no-cache\n";
print "\n";
#### follow with the html body content

but seem like doesn't work. may i know can the above command support
dynamic page generated by perl cgi program ?
or support html file only ? can they support normal html file with or
without form entry ?

Please help me if anyone know the answer
 
A

A. Sinan Unur

I face a problem when i try to develope a e-commerce program.

i want to show customer 'expiry page' when they try to click 'back'
button on the checkout page.
may i know how to do that ? i personally check the forum and try the
following command.

What forum did you check?
#!/usr/bin/perl
print "Content-type: text/html\n";
print "Pragma: no-cache\n";
print "Expires: -1\n";
print "Cache-Control: no-cache\n";
print "\n";
#### follow with the html body content

but seem like doesn't work. may i know can the above command support
dynamic page generated by perl cgi program ?

Your question has nothing to do with Perl. You should head on over to a CGI
group.

Sinan.
 
S

Sherm Pendley

Darick said:
what forum do u suggest ?

Is your keyboard broken? It's spelled "you".

Your news reader app can list the available groups for you. Do that, and
look for one with "cgi" in its name.

sherm--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,430
Latest member
7dog123

Latest Threads

Top