Detecting Logged In
-
My blog is on the /blog/ subdirectory of my web site. It all works great.
I need the page at / on the site to be able to detect whether the user is logged in as a blog subscriber.
The cookies for wordpress are all set in SITECOOKIEPATH to /blog/. When I check $_COOKIE in /, I can’t see the values.
I tried doing a define of SITECOOKIEPATH in wp_config.php, but the define doesn’t work.
What is the best way to find out if the user at the computer is logged into the wordpress blog from up the directory tree?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Detecting Logged In’ is closed to new replies.