Change protocol in form submit, relative path

D

D Godwin

This is probably more of a straight HTML question, but here goes: I want to
change from http to https during a form submit. This it pretty
straightforward with a complete path
(action=https://site.com/folder/page.aspx), but how can you specify a
relative path so you don't have to change it when switching from a
development site to the production site?

Thanks.
David
 
G

Guest

You can't becuase no page on a secure website can be relative to an insecure
one, they are totally seperate, it's as if you are refering to a page on a
different domain.
 
D

D Godwin

That's what I thought. I'll just load it from the config file and change it
as needed there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top