Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8749571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:43:00+00:00 2026-06-13T12:43:00+00:00

Possible Duplicate: How to prevent duplicate posts via a browser refresh? I have a

  • 0

Possible Duplicate:
How to prevent duplicate posts via a browser refresh?

I have a simple html form to give some info from users and register it two database.
all things are OK.
but the problem when begin that user press F5 or refresh the page; in this case previous info again register to database and create duplicate.

my question from you is how I can delete headers after register info in database

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:43:01+00:00Added an answer on June 13, 2026 at 12:43 pm

    A common solution is for the server-side script that handles the POST to redirect to itself – the browser will then use a GET request to fetch the page, which can be reloaded safely. Optionally, you can copy the POSTdata to SESSIONdata and refer to it to provide feedback such as “Message sent” or “Order submitted” or “Settings saved”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Prevent any form of page refresh using jQuery/Javascript how can i prevent
Possible Duplicate: Prevent click event from affecting parent jquery I have a DOM structure
Possible Duplicate: Prevent Back button from showing POST confirmation alert I have used the
Possible Duplicate: Is there a clean way to prevent windows.h from creating a near
Possible Duplicate: How to prevent IFRAME from redirecting top-level window <iframe width=980px frameborder=0 marginheight=0
Possible Duplicate: How to prevent My apk from decompiling as you probably know -
Possible Duplicate: Prevent Duplicate SQL entries I'm just looking for a simple way to
Possible Duplicate: Prevent user from going back to the previous secured page after logout
Possible Duplicate: In Linux, how to prevent a background process from being stopped after
Possible Duplicate: How to prevent XSS with HTML/PHP? I know that in a lot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.