Supposed the project structure looks like this login.php->set a session This session would be unset after a period of time when the user does nothing load.php-> load data from DB check.php-> check whether the session is set or not before loading data from DB, check .php would be triggered to see whether users are timeout. If yes, then php sent 404 back to browser and direct to my custom error Page..
Обсуждают сегодня