Jump to content

Access to pages help!!


ahmedkl

Recommended Posts

Hi. Can you post your login script?

 

Your login script should create a $_SESSION variable. ie your admin username or something like that.

 

Then at the top of every script that is admin only, you should check to see if this $_SESSION variable exists. If it doesn't, then redirect the user.

 

 

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.