title: PHP method to hide link until user logged in
body: <p>I used this to hide links until after the user is logged in, and was just wondering if this will cause any security issues or other issues in production code? I have been testing it and cannot find an issue so far as the website will not give a session_id until after the user logs on.</p>
  
  <pre><code>if(session_id()){echo '&lt;a href="./ewo.php" target="_self"&gt; EWO &lt;/a&gt;'... 
  </code></pre>