Results 1 to 2 of 2

Thread: How to prevent user from refreshing sql page?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2000
    Posts
    1,463

    Question How to prevent user from refreshing sql page?

    Hello Everyone,

    On my ASP pages I have users tha will submit information to the next page that inserts it into a sql table. How do i keep them from clicking Refresh and having it do this process again? I hate to have a session flag to manage throughout the site. And I thought of checking what url page it is called from but there are a couple that after adding a record, it lets you do it again from the same page. I think I do this at only one place so if I had to I could change that one and then just not run it if you reload the same page.

    What I was wondering is if there is any way to clear out what parameters being passed to a page once you do it so if you click refresh, they are not passed back in.

    Thanks!!

    Warren

  2. #2
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: How to prevent user from refreshing sql page?

    Is it <&#37;Response.Expires=-1%> ?
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width