Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Grab username from WP Cookieby jcb (Parson) |
on Apr 01, 2020 at 23:48 UTC ( [id://11114935]=note: print w/replies, xml ) | Need Help?? |
You have to use the cookie as a search key to look up the session information wherever WordPress stores it. You need the cookie, but the cookie is an opaque token rather something you meaningfully read to extract information. Are you asking how to get the cookie in the first place? Is this system on the same domain, such that the user's browser will send the WordPress cookie?
In Section
Seekers of Perl Wisdom
|
|