Code

AJAX User Registration and Login with Cookie Autologin

AJAX User Registration and Login with Cookie Autologin

Let your users create accounts and login to your site with this script.

Every request is made through ajax, which makes for a very easy user interaction with the site.

The script has double security checks on both register and login forms. Every time the user starts a new browsing session and logs in to the site, the cookie’s authorization number and token are updated, keeping it safer.

FUNCTIONS
– Ajax login and register: improves user experience on the site.
– Remember me function
– jQuery form validation
– PHP form validation
– Encrypted and salted passwords when creating users
– Encrypted and salted authentication number and token for cookie

DEMO
Email: demo@demo.com
Password: demo1234

Note: Registration process is shown for demo purposes only, users are not stored. Please log in with the demo-user shown above.

by
by
by
by
by
by