I am creating a small PHP system where the users can edit their active directory details.
The first page is a login page which redirects to the main page where the users can edit their details.
On the login page, I use ldap_bind
to authenticate the users which on success redirects the to the main page. Now, I do not want to pass the password of the user through sessions for security reasons.
How do I pass the bind state to the other pages in the system?