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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:42:06+00:00 2026-05-12T05:42:06+00:00

i do Postback in my Page1.aspx to another page. If a press F5 key

  • 0

i do Postback in my Page1.aspx to another page. If a press F5 key in Page1.aspx its appears the message (To display the webpage again, Internet Explorer needs to resend the information you’ve previously submitted.
If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click Retry to display the webpage again.)

I have this javascript code, which is the solution for my issue ??

thanks in advance

function calc() 
{
    var pagoConPopup = true;

    if (pagoConPopup) 
    {
        var ventanaTPV = window.open('', 'ventanaTPV', 'width=725,height=600,scrollbars=no,resizable=yes,status=yes,menubar=yes,location=yes');

        if (ventanaTPV == null || !ventanaTPV || typeof (ventanaTPV) == "undefined") 
        {
            alert("Se ha detectado bloqueador de ventanas emergentes. Desactívelo para proceder al Pago");
        }
        else 
        {
            document.forms[0].target = 'ventanaTPV';
            hacerSubmitPOST();
            ventanaTPV.focus();
        }
    }
    else 
    {
        hacerSubmitPOST();        
    }
}


function hacerSubmitPOST() 
{
    //*** Prueba de Hack ***
    //alert('Prueba de hack Amount');
    //document.getElementById("Amount").value = "12000";
    //*** Fin Prueba de Hack ***
    document.forms[0].action = '<%=strURLTpvVirtual%>';
    document.forms[0].submit();    
}
  • 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-12T05:42:07+00:00Added an answer on May 12, 2026 at 5:42 am

    If after the redirect, the URL still says Page1.aspx, then in fact the redirect did not happen, since the URL would change to whatever the other page’s URL is. Post your server-side code so we can look at where the Redirect should be happening.

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

Sidebar

Related Questions

In a simple aspx page I can have a custom JavaScript function postback as
I want to go from the First.aspx page to the second.aspx page without postback.
On an ASPX.Page, I have a button that performs a postback. User must be
I have a standard aspx page with which I need to add another standard
I have a web application that creates a graph on another aspx page. Sometimes
Is it possible to secure only the Login.aspx page (and the postback) and not
During Asynchronous postback (Ajax) will Page_PreInt() ,Page_Init(),Page_Load() events fire again?
I have seen stackoverflow ask question page they disable button until my postback event
I have an odd problem. I have a page called search.aspx. When the search
I try to pass some value from one page to another but at the

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.