<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">I have a better idea. You fire up your debugger and show me. Every instance I have found is based on code similar to this:<br><br>$user-&gt;access ? t('%time ago', array('%time' =&gt; format_interval(time() - $account-&gt;access))) : t('never')<br><br>Tracing $user-&gt;access back leads to the same conclusion as I came to in the beginning. The $user-access is being loaded and updated before it is presented.&nbsp; To give another simple example&nbsp; I first looked at the time codes in phpmyadmin. I have a simple php snippet that just sets the $user-&gt;access time, time() and login in time to print to screen.&nbsp; I expected to see the differences. which I did. So I thought things were working. But when I refreshed the phpmyadmin browser it showed that calling the snippet had actually updated the database date. So
 the access time shows the time that the snippet was run.<br><br><br><div>&nbsp;</div><div> <div><font face="Arial" size="2">Carl Mc Dade<br>____________________________<br>Web Developer<br><br></font></div><div><font face="Arial" size="2"><br>&nbsp;</font></div></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Moshe Weitzman &lt;weitzman@tejasa.com&gt;<br>To: development@drupal.org<br>Sent: Monday, February 12, 2007 3:32:12 PM<br>Subject: Re: [development] No last access?<br><br><div>Carl Mc Dade wrote:<br>&gt; Well, I spent sunday evening being sick and looking over last access <br>&gt; functionality historically as per Bérs advice. I looked back to version <br>&gt; 4.4 to 4.7.4. a found surprisingly that Drupal has never really had a <br>&gt; last access functionality. It has had calculation code to gather
 such <br>&gt; information but nothing definative. Strangely enough there has not been <br>&gt; too much call for this information so no one has noticed.<br><br>This is all nonsense. The user admin page shows you last access for each <br>user. And that number is accurate, so we must be collecting that info <br>somewhere. Furthermore, access is easily available for all modules in the <br>standard $user object.<br><br>Fire up your debugger and you will see the writing of this infomation in <br>sess_write().<br></div></div><br></div></div><br>

<hr size=1>It's here! Your new message!<br>Get
<a href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/"> new email alerts</a> with the free <a href="
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Yahoo! Toolbar.</a></body></html>