I have a user login/reg system with a user management admin area.
Just some background:
Currently the login is all 'ajaxy' so the user clicks login and the loading gif swirls around while in the background the details are checked, sessions created.
If all goes well the client side javascript refreshes the page to the correct location.
the questions
Now if I wanted to use SSL, what do I do?
The "ajax" call - I need to secure this - do I do this by making the call to https - is that enough?
- 1.1 Currently I use jQuery $post which has a relative path to the login.php to check the user login details. Should I make this absolute - eg https://www.mysite.com/ajax/login.php
- Should the redirect after login also go to https
(the site owner should already have a SSL certificate etc)
Thanks