Michael Kinder Posted April 15, 2019 Report Share Posted April 15, 2019 Hello all, I would like to take advantage of the API in a certain way, but I can't seem to find an answer on it. Basically I want to be able to check the user's login status using the API and then display content based on that status. Anyone know how to do this? Thanks in advance, Michael Quote Link to comment Share on other sites More sharing options...
0 Michael Kinder Posted April 15, 2019 Author Report Share Posted April 15, 2019 I should mention I'm familiar with PHP, it's just my unfamiliarity with Blesta's API that I need help with. Any help would be appreciated greatly! Quote Link to comment Share on other sites More sharing options...
0 Tyson Posted April 15, 2019 Report Share Posted April 15, 2019 What do you mean check log in status? Session information is not going to be available over the API. You're not going to be able to determine whether they are logged in unless you log them in, which you can do from the Shared Login plugin. Quote Link to comment Share on other sites More sharing options...
0 Michael Kinder Posted April 16, 2019 Author Report Share Posted April 16, 2019 Well that's definitely odd. I thought for sure you'd make session information available via the API. Well, guess I'm just out of luck on this one. Quote Link to comment Share on other sites More sharing options...
Question
Michael Kinder
Hello all,
I would like to take advantage of the API in a certain way, but I can't seem to find an answer on it.
Basically I want to be able to check the user's login status using the API and then display content based on that status. Anyone know how to do this?
Thanks in advance,
Michael
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.