Demo Login Page of Logout Inactive User using PHP
You are logged in Successfully.
Now Click here to view dashboard (secured page), after opening this page, if you remain inactive for 30 seconds, you will be automatically log out and redirect back to home then you can relogin.
For demo purpose, session time has been set for 30 seconds. After 30 seconds session will be expired.