Implementing a third party login script

I used third party code to set up my login system. I cannot link this because I have under 10 posts.

It uses include(); to show a page depending on whether or not someone is logged in. I want to be able to show more than one page, for example, if someone logs in they have to be able to go to their dashboard, which shows some information. Someone who is not logged in should not be able to see it however.

Is there a way to implement this on the structure I/they use, or will I have to start from scratch?

you’ll need to code the dashboard yourself, but after that, just set a session variable so you’ll have something to check the login against. If its true, send them to their dashboard, if not, send them to the login screen with an error message.

Sponsor our Newsletter | Privacy Policy | Terms of Service