I am currently following this guide: https://samjlevy.com/php-ldap-login/
It all works great and the login script works fine. Only what I want to do is insert a simple piece of code that the session times out in like 30 minutes or something and than the user automaticly logs out.
How can I archieve this