• (2 Pages)
  • +
  • 1
  • 2

User Authentication With Member-Only Pages Rate Topic: ***** 3 Votes

#16 EducatedPredictions  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 26-September 14

Posted 26 September 2014 - 08:39 AM

I have been using this code and most of it appears to be working on my website. But, I have a clarification questions regarding the auth.php page. If the 'destroy' function happens at either end of the if statement, logically I don't understand. The login function works fine, but when I put the auth.php code on the pages I want to lock it only seems to run the 'destroy' function.

Thanks for this tutorial by the way, it really was simple and enlightening.

Sincerely,
EducatedPredictions
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2