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
A question about moving between pages
- Massimo Linossi
- Posts: 474
- Joined: Mon Oct 17, 2005 10:38 am
- Location: Italy
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: A question about moving between pages
Massimo,
Try with this:
? '<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">'
Try with this:
? '<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">'
- Massimo Linossi
- Posts: 474
- Joined: Mon Oct 17, 2005 10:38 am
- Location: Italy
Re: A question about moving between pages
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.
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.