- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
โ07-15-2015 10:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://www.drdobbs.com/cross-page-postback-in-aspnet-20/184406025
Are you setting the PostTargetUrl all the time?
โ07-15-2015 11:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
โ07-16-2015 08:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
โ07-16-2015 09:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
โ07-16-2015 09:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the relay response url the same as the form post url? why it is checking for is postback?
โ07-16-2015 12:15 PM - edited โ07-16-2015 12:17 PM