Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » Expire Page when back button is pressed
Expire Page when back button is pressed [message #455768] Wed, 12 May 2010 21:53 Go to next message
aderes2
Messages: 2
Registered: May 2010
Junior Member
Hi:

How do you expire a page to prevent users from accessing certain pages using the back button? I've tried the no cache but it doesn't seem to work.

Thanks

-Steve
Re: Expire Page when back button is pressed [message #455772 is a reply to message #455768] Wed, 12 May 2010 23:00 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
With what system are you working and what do you mean by 'expire'?

David
Re: Expire Page when back button is pressed [message #455786 is a reply to message #455772] Thu, 13 May 2010 00:37 Go to previous messageGo to next message
aderes2
Messages: 2
Registered: May 2010
Junior Member
I'm using the Oracle htp package to create web pages using PL/SQL. When you move to the next webpage (procedure) if you hit the browsers back button, I want it to say the page has expired.

Thanks
Re: Expire Page when back button is pressed [message #455792 is a reply to message #455786] Thu, 13 May 2010 01:10 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
This is the wrong forum. I will move this thread.

David
Re: Expire Page when back button is pressed [message #455951 is a reply to message #455792] Thu, 13 May 2010 14:20 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
Standard techniques should work fine. Changing from http to https, or use javascript to manipulate browser history are both possibilities to consider.

http://www.google.com/search?q=disable+back+javascript+history
Re: Expire Page when back button is pressed [message #456238 is a reply to message #455786] Sun, 16 May 2010 07:30 Go to previous message
dr.s.raghunathan
Messages: 540
Registered: February 2008
Senior Member
simple error message with exit process for back or any other button will be siffice
Previous Topic: Post calculation computation
Next Topic: htp.formopen
Goto Forum:
  


Current Time: Thu Mar 28 17:59:55 CDT 2024