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 7037333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:31:55+00:00 2026-05-28T01:31:55+00:00

I have an ASP.NET form that the user can make lots of changes to,

  • 0

I have an ASP.NET form that the user can make lots of changes to, each time they make a change the page PostsBack and the details are updated.

If the user hits the browser back button they go back through all the previous versions of the page.

Is it possible to stop each PostBack being treated by the browser as a new page?

So the would make any changes they like and if they hit the back button it brings them to the previous form and not the same form but a different version?

I know I could use AJAX to update values but I’m not an advanced coder so trying to keep things simple as I haven’t used AJAX before.

  • 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-05-28T01:31:56+00:00Added an answer on May 28, 2026 at 1:31 am

    You could use a trick to do it.

    On postback you can set a session bit to true saying they submitted that form. On your postback check to see if that value is set. If it is they are trying to do it again and you can just abort it. It wouldn’t prevent the postback per se but you could control the logic and prevent it from DOING anything.

    I personally would explore ajax as Jquery provides some nice ways to do it and it’d be a learning experience but I suppose this would work as you are asking. On a per session basis. If you only want 1 submission ever use a database to store the activity.

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

Sidebar

Related Questions

I have an ASP.NET MVC form that when submitted can return either an ActionResult
I have an asp.net web page with a form that contains a series of
I have a simple ASP.NET page that users can browse to, select a file
I have master page that contains the following asp.net form tag <form id=CommerceMasterForm runat=server>
I currently have an ASP.Net Web Form that looks like this: Each section of
I have an asp.net form that contains some html, 2 controls a calendar from
I have an ASP.NET form (C#) but which I click this button that should
I have a pretty simple ASP.NET Web Form that looks a bit like the
I have an asp.net web form (c#, .NET framework 3.5) that returns to itself
I have an ASP.NET form with three text inputs, one each for Work Phone,

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.