jd2007 Posted July 14, 2007 Share Posted July 14, 2007 how do i check if a user has already logged in or not ? Quote Link to comment 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. } ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.