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

  • Home
  • SEARCH
  • 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 3877274
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:28:44+00:00 2026-05-19T22:28:44+00:00

My ViewState implementation causes Confirm Form Resubmission dialog to appear each time I press

  • 0

My ViewState implementation causes “Confirm Form Resubmission” dialog to appear each time I press ‘back’ button, but when I create test site using microsoft’s aspx their viewstate isn’t causing such problems…

What should I know to prevent my browser from showing “Confirm Form Resubmission”?

EDIT

I’ve found an interesting resource here, the problem described in terms of browser caching, if the page is cached than it won’t make a post at all, now it is interesting how to make my page cachable by default..

  • 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-19T22:28:45+00:00Added an answer on May 19, 2026 at 10:28 pm

    In case someone is interested, the problem is solved when setting the following page heder:

    “Cache-Control: max-age=3600, must-revalidate” it simply caches the page on the client. And this prevents the browser from displaying “Confirm Form Resubmition”

    Here is good info about caching the pages on the client side.

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

Sidebar

Related Questions

I can disable viewstate of each control, but not entire page. Is there a
Do you know any implementation / technique which would provide similar behavior as Viewstate
In the code below ViewState[L] stores a List<string> . I create a new instance
Reading over TRULY UNDERSTANDING VIEWSTATE the author suggests: When ASP.NET parses the form, and
How can I disable viewstate in my ASP.NET page for most controls, but allow
I want to disable viewstate for my entire site, but on some pages I
I thought I understood ViewState, but this is a bit of a weird one.
I set ASP.Net ViewState to off for a text box control, but the value
I want to disable my viewstate in a form because its too bulky (about
I want to keep viewstate of a specific page in session but following code

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.