Ninja Posted October 20, 2015 Posted October 20, 2015 Hi, I was wondering how do I require a user to login first before seeing a page. For example I want to restrict people from accessing the mob database by logging in first before they can search. ~Jess
Ninja Posted October 20, 2015 Author Posted October 20, 2015 maybe this will help, if(session_status()!=PHP_SESSION_ACTIVE) or you can refer to php.net about session(s) Thanks man, I snooped around some php files and found this: $this->loginRequired(); solved my problem
benching Posted October 20, 2015 Posted October 20, 2015 maybe this will help,if(session_status()!=PHP_SESSION_ACTIVE)or you can refer to php.net about session(s)
Question
Ninja
Hi,
I was wondering how do I require a user to login first before seeing a page. For example I want to restrict people from accessing the mob database by logging in first before they can search.
~Jess
2 answers to this question
Recommended Posts