Use WP user status (logged_in) to manage access to independent application
-
Hi.
I have WP installed in the root of my website.
In the same directory there’s a completely independent application.What I want to do is the following.
When the user accesses the page containing the application:
- if he is in NOT logged into WP, the application must redirect him to the traditional wp-login page;
- if he IS logged into WP, he can use the application;
Is there any way to get/read WP user data from an independent PHP page? If not, can you suggest different solutions to avoid users having to authenticate multiple times on the same website?
Any help is appreciated.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Use WP user status (logged_in) to manage access to independent application’ is closed to new replies.