Jump to content

Pulling user session data?


Recommended Posts

We are looking to design a custom plugin for our website, and in order to do so will need to pull the user session data when they log in (most noticeably the user email), so we can see if they match our paid subscribers email list.  Does anyone know where to pull the user session data from?

Thanks!

Link to comment
Share on other sites

To get the current member info do

\IPS\Member::loggedIn()

This will return a member object, and with that you can add ->email to the end to retrieve the users email address.

For future reference, this kind of topic should be posted in Development Assistance.

Link to comment
Share on other sites

20 minutes ago, Tom Irons said:

To get the current member info do


\IPS\Member::loggedIn()

This will return a member object, and with that you can add ->email to the end to retrieve the users email address.

For future reference, this kind of topic should be posted in Development Assistance.

Thanks Tom, I'll be sure to post there in the future with these kinds of requests

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...