How to get logged in user and password value?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
satokoba
User
Posts: 11

How to get logged in user and password value?

Post by satokoba »

Hi,
Please let me know if anyone can help me?

I need to get the User + Password (login) and save it in the session variable.. I got the User but the Password I've been trying for 2 weeks and nothing works! I have no knowledge in OO.

*** In Login Page >> User_LoggedIn

// User Logged In event
function User_LoggedIn($usr) {
//echo "User Logged In";

// User Ok 
$_SESSION['userlogins'] = CurrentUserName();

// Password ??

}

Thank you for any help!


arbei
User
Posts: 9384

Post by arbei »

You cannot get password from User_LoggedIn server event, you may use User_CustomValidate.


satokoba
User
Posts: 11

Post by satokoba »

I tried and I couldn't use this function... I managed to use the User/Pass variables via POST and with that I created the variable to authenticate in another application...


Post Reply