Jump to content

Last login date/time


HighFlyerPL185

Recommended Posts

Hi there,

I discovered from the database that you can echo the date and the time of the last login from the phpvms_sessions table. I am not too experienced on PHP, and I am wondering how the $session_id variable works? I have this code, but it doesn't return anything.

<tr>
   <td class="main1_1">Last Login Date</td>
   <td class="main2_1"><?php echo Auth::$session_id->logintime; ?></td>
</tr>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...