SaaS CMS has officially launched! Learn more now.

*Urgent* Strange Issue, URL change on form submission



Site is hosted on two servers and was absolutly working fine. Today we Notice on a Checkout Page Address on form submission URL of Form Tags are changing to Origional aspx file rather friendly url.

On Submitting Find address button ASPNetFormURL change back to its origional aspx file e.g. Structure/CheckoutDelivery.aspx?id=123 rather en-gb/Checkout/Delivery and in result next form submission is failing.

<form name="aspnetForm" method="post" action="en-GB/checkout/Checkout/" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm">


<form name="aspnetForm" method="post" action="SinglePageCheckout.aspx?id=524041&amp;epslanguage=en-GB" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm">

Any reason or solution, I am looking for quick help.



Apr 03, 2014 17:42

Any changes in environment (EPiServer updates, nuget packages, etc)? How you are generating form element in markup?

Apr 04, 2014 6:31

Its a standard ASP.Net WebForm, there is no change in enviornments. Form is loading again and Changing the View on a button Press.


Apr 04, 2014 10:28

Another fact we found that it works fine from Mobile devices but changes urls on PostBack when trying to access the site from any Desktop browser (IE/Chrome/FireFox). we tested from diffrent machines and locations. In General tested site after clearing cache. Sites Recycles Daily 3:00sh. We are giving a try now by removing Temporarry ASP.Net Files from Server.

Apr 04, 2014 11:04

Ok, but how you generate `action` attribute of `form` element?

Apr 04, 2014 11:31

<form id="pF" runat="server">
<!-- wrapper -->

blah blah



Apr 04, 2014 11:40

Sorted - Removing the temorary ASP.Net Files from that server solved the issue. (Thanks to MFitt)

Edited, Apr 04, 2014 12:43
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.