jd2007 Posted July 14, 2007 Share Posted July 14, 2007 how do i check if a user has already logged in or not ? Link to comment https://forums.phpfreaks.com/topic/59916-php-logging-in/ Share on other sites More sharing options...
trq Posted July 14, 2007 Share Posted July 14, 2007 Depends how your login system works. Generally, you would check to see if a session var is set. eg; <?php session_start(); if (isset($_SESSION['logged'])) { // user is logged in. } ?> Link to comment https://forums.phpfreaks.com/topic/59916-php-logging-in/#findComment-297964 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.