cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone know what __PREVIOUSPAGE is used for?

Hi all,

We recently switched servers from a Windows Server 2003 box to a Windows Server 2012 box.

 

We use SIM for taking payments and after the switch we are having some problems.

 

Somtimes we have a payment go through just fine, but other times we are having issues.

The only difference we see is that on all the payments we have issues with the "__PREVIOUSPAGE" field is missing.

When the field is sent to use we have no problems.

 

Does anyone know why sometimes that field would be sent and why sometimes it is missing?

aalcaide
Member
5 REPLIES 5

http://www.drdobbs.com/cross-page-postback-in-aspnet-20/184406025

Are you setting the PostTargetUrl all the time?

 

RaynorC1emen7
Expert

I took a look and I don't see where we set that at all.

 

We have a .aspx page with a form and the action is the authorize SIM page.

 

Somehow when the information comes back to our site our code thinks the page is a post back and doesn't execute our code.

But it is inconsistent and only started once we changed servers.

 

Any thoughts?

How are you doing the form post to authorize.net?

 

Are you on a web farm?

 

Somtimes we have a payment go through just fine, but other times we are having issues.

What kind of issue? not going to the SIM CC form? not getting to the relay response url?

 

This is our form header to test at tleast:

form name="form1" method="post" action="https://test.authorize.net/gateway/transact.dll"

 We are not on a web farm.

 

We do go out to the SIM CC form and that works fine and CC get charged.

 

Authorize is getting back to our server as we see the traffic.

The issue is in our C# code we have a check for Page.IsPostBack and sometimes it evaluates as true and our code for accepting the payment is never run.

 

It is odd that it is not consistent.

Is the relay response url the same as the form post url? why it is checking for is postback?