November Happy Hour will be moved to Thursday December 5th.

*Urgent* Strange Issue, URL change on form submission

Vote:
 

Hi,

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">

TO 

<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.

Regards

/K

#84654
Apr 03, 2014 17:42
Vote:
 

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

#84659
Apr 04, 2014 6:31
Vote:
 

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

Regards
/K

#84674
Apr 04, 2014 10:28
Vote:
 

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.

#84676
Apr 04, 2014 11:04
Vote:
 

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

#84681
Apr 04, 2014 11:31
Vote:
 

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

blah blah

Buttons

</form>

#84685
Apr 04, 2014 11:40
Vote:
 

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

#84688
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.