Postback changes https to http

Vote:
 
Our customer wants to use https for certain pages that includes a form (can be either Xform or own developed form). When browsing the page it has a correct https-URL but after postback when some mandatory fields have not been filled out in the form, it returns with a http-URL where I expected it to stay in https. This is the behaviour in the production environment. In development it works fine! What can cause this error in the production enviroment? Can it be the that causes the different behaviour? When I "View source" in development,
#13247
Oct 26, 2007 15:54
* 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.