Jump to content

Pulling user session data?


Recommended Posts

Posted

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!

Posted

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.

Posted
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

Archived

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

  • Recently Browsing   0 members

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