Welcome Guest, Not a member yet? Register   Sign In
Submit forms on secure connection
#1

[eluser]Unknown[/eluser]
I have a registration page that uses a secure connection so the URL is https://example.com/join/

I have a log in form and a registration form on that page but for some reason when I submit those forms the post values are always empty. I've made sure the methods that the forms submit to have a secure connection URL but for some reason the forms aren't submitting properly. Has anyone else had a similar problem?

Thanks for any help.
#2

[eluser]@robertotra[/eluser]
Which is the full content of the action attribute in your form? Is it an absolute path with https protocol on the front or is it a relative path? The relative path might refer to the http protocol if your base url is not set to https. If your login controller receive post variables on http it will not be able to read the secured content.

Anyway I have read in several experts forums that it is not necessary that a login form is on a secure page to have a secure form posting, it is enough that the action is set to reach a page on https, because this will cause a secure handshaking on SSL, independently from where is the starting page (both on http and https)

Bye
Roberto
#3

[eluser]Mauricio de Abreu Antunes[/eluser]
I think you need to code your post controller with cURL. Smile




Theme © iAndrew 2016 - Forum software by © MyBB