Hello,
I’ve been wondering how its possible to make a link to other domain with the current active protocol?
For instance:
Users comes to mywebsite.com and he posts a form:
-
he is on http://mywebsite.com so form should post
http://someotherdomain.com -
he is on https://mywebsite.com (SSL) so form should post to
https://someotherdomain.com
Is there any way to set form post action to “://someotherdomain.com” so that browser would automatically use the current used protocol (http or https) accordingly?
Thanks for help