Jump to content

KingBeau

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

KingBeau's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm after a code to let me have a sidebar show up over the right side of a page only when there's an active php session. Currently I have a site running and inside that site there's an "Admin page" running this code to authenticate users: <?php session_start(); if(!session_is_registered(username)){ header("location:login.php"); } ?> What can i do to make it so that i can have a sidebar show up on all of my pages, but only if there's an active session? I only create sessions for admin. The rest of the users are anonymous.
×
×
  • 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.