A question about moving between pages

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

A question about moving between pages

Post by Massimo Linossi »

Hi.
In one main prg I have a request of login that is validated. Then the user can go in different pages with datas and browses.
I've places a button in the menu for logging out and this clears the string in the cookie so if you
click on main the program launch the login process again. But if you press the previous page different times
you can see the pages that are loaded before. How can I prevent this ?
TIA
Massimo
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: A question about moving between pages

Post by Antonio Linares »

Massimo,

Try with this:

? '<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">'
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: A question about moving between pages

Post by Massimo Linossi »

Antonio,
I've tried your code and you see that the url seems to be refreshed (in Safari you see the meter below the url)
but the page is the last you saw. If you click on the previous page of the browser in the url there is written
"http://192.168.10.180/samples/BSTUDIO/utenti.prg?reload" but the first lines of code of the prg are not executed
again until you make a manual refresh of the page.
Post Reply