CMS MADE SIMPLE FORGE

Frontend Users

 

[#9590] feu->LoggedInId not work right after feu->Login

avatar
Created By: mr. Kembl (kembl)
Date Submitted: Sun Oct 13 10:58:05 -0400 2013

Assigned To: Robert Campbell (calguy1000)
Version: 1.21.18
CMSMS Version: 1.11.9
Severity: Minor
Resolution: Won't Fix
State: Closed
Summary:
feu->LoggedInId not work right after feu->Login
Detailed Description:
After update to last FrontEndUsers 1.21.18 on 1.11.9 "Bartolome" I cant call
LoggedInId() in one session with Login(u,p)

PHP Version 5.4.20

Check snippet:

Code:
----------------------------------------------------------------------------


$feu =& $this->GetModuleInstance('FrontEndUsers');

$res = $feu->Login( 'mylogin', 'mypswd' );
echo("res: ".var_export($res,1)."<br><br>");

$uid = $feu->LoggedInId();
echo("uid: ".var_export($uid,1)."<br><br>");

if ( $uid == false )  echo("Bug found...");

----------------------------------------------------------------------------

If I call LoggedInId() in next www page update all ok, uid not false.

P.S. I know that $res already has uid if login success.

Also I wrote detailed description on
http://forum.cmsmadesimple.org/viewtopic.php?f=7&t=68296


History

Comments
avatar
Date: 2014-07-02 12:00
Posted By: mr. Kembl (kembl)


See new report for 1.23.5 mod version:
http://dev.cmsmadesimple.org/bug/view/10090
      
Updates

Updated: 2015-07-29 13:50
state: Open => Closed

Updated: 2015-07-20 22:05
resolution_id: 5 => 8

Updated: 2014-07-02 12:00
description: After update to last FrontEndUsers 1.21.18 on 1.11.9 "Bartolome" I cant call LoggedInId() in one session with Login(u,p) PHP Version 5.4.20 Check snippet: Code: ---------------------------------------------------------------------------- => After update to last FrontEndUsers 1.21.18 on 1.11.9 "Bartolome" I cant call LoggedInId() in one session with Login(u,p) PHP Version 5.4.20 Check snippet: Code: ---------------------------------------------------------------------------- $f
resolution_id: => 5