I'm using (or I'm going to use) WordPress for my product's marketing site. I use Rails for the product's application.
Right now on my marketing site, which is currently in Rails, I have a link that reads either "My Account" or "Sign In" depending on whether you're signed in or not.
I'd like to duplicate this feature on my WP site but I of course won't have the privilege of doing it in as direct a way as I am on my Rails marketing site now.
I'm thinking I'll want to keep track via a cookie whether the user is logged in, which I assume is possible because the application and marketing site will both be on the same TLD.
What's not clear to me is what would be a good way to read that cookie in WP. Any suggestions?