Jump to content

login system


stebbi

Recommended Posts

Well there is alot of code (i am coding). This is the code that is checking for the session

<?php if(isset($_SESSION['logchat'])) { ?>
<a href="?logout" id="nav">Logout</a>
<?php } else { ?>
<a href="login" id="log" onClick="return dropdownmenu(this, event, menu2, '70px')" onMouseout="delayhidemenu()">Login</a>  <a id="log" href="">Register</a>
<?php } ?>

 

and the session is set by ajax (i think) and there is alot of code, but the session is there and is called logchat.

Link to comment
https://forums.phpfreaks.com/topic/111699-login-system/#findComment-573316
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.