Is there a way to get the session id once a user logs in through amember. What I am trying to do is write some code that will timeout a user after there is some period of inactivity, but it's more complicated than just setting an amember timeout. A registered customer can log into amember then has access to a number of databases, he can open one or more of these databases. I want to be able to, after a set time of inactivity in all open databases, shut down each database session and the amember session. It looks as though the $_SESSION variable should have the information I need, but I can't find any documentation giving all of the "sub-variables" available, (I know I can get first name, last name, etc., but is there an index or unique identifier that is accessible?) Thanks for any help.
Call session_id() function from PHP and it will be what you need. Or you will find necessary value in $_COOKIE array