G
Greg
Hi
I'd like to stop a particular ASP page from being stored in the history so
visitors cannot use their browser's back button to return to it. I've used
Response.Expires = 0 along with this:
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
And neither of them seem to work.
Forgive me if I seem a little dumb, but is this possible?
The page in question is where a customer's gift voucher gets redeemed. Some
vouchers have a set number of times they can be used, and I want to stop
users going back to the page to redeem it again if there was a comms error
and they didn't make it to the next page for some reason. Any ideas?
Is there also a way of detecting that they have been disconnected or a
problem has occurred, and thus allowing them to use their voucher again. I
have already sorted it with a bit of JavaScript so that the "Redeem" button
can only be clicked once.
Kind regards,
Greg
I'd like to stop a particular ASP page from being stored in the history so
visitors cannot use their browser's back button to return to it. I've used
Response.Expires = 0 along with this:
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
And neither of them seem to work.
Forgive me if I seem a little dumb, but is this possible?
The page in question is where a customer's gift voucher gets redeemed. Some
vouchers have a set number of times they can be used, and I want to stop
users going back to the page to redeem it again if there was a comms error
and they didn't make it to the next page for some reason. Any ideas?
Is there also a way of detecting that they have been disconnected or a
problem has occurred, and thus allowing them to use their voucher again. I
have already sorted it with a bit of JavaScript so that the "Redeem" button
can only be clicked once.
Kind regards,
Greg