Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expires help?

Status
Not open for further replies.

marshalsea

Programmer
May 26, 2000
51
GB
I'm trying to stop people from pressing back and thus resending an Email to me.<br><br>I've tried the response.expires command but it keeps telling me i've got a type mismatch...<br><br>The theory is, they can see the page once, and once they've moved on, then whenever they try to go back, using the back button, it tells them to go away (Politely, of course!).<br><br>I'm sure it's a really simple answer, and I know it can be done, as my Credit Card Web Pages do it, but there's nothing in the returned code.<br><br>m. <p>Ben Marshalsea<br><a href=mailto: > </a><br><a href= > </a><br>
 
You might want to check your code and make sure that your expires script is first. If you try to write header info or anything like that you will get the mismatch error.
 
Why don't you just look at the code for your credit card pages to see how it was done on them? -Ovatvvon :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top