Thanks Boris!<br><br>Now everything makes sense :)<br><br>Bernat.<br><br><div class="gmail_quote">2009/5/20 Boris Popov <span dir="ltr">&lt;<a href="mailto:boris@deepcovelabs.com">boris@deepcovelabs.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p><font color="navy" face="Arial" size="2">
In your case last access is 0 because you are just accessing it now :) You need your own &#39;start&#39; variable if you want to track total session time, just set it to Timestamp now in #initialize and then add #minutesSinceStart that subtracts that from current time.<br>

<br>-Boris (via BlackBerry)</font></p>
<p></p><hr align="center" size="2" width="100%">
<font face="Tahoma" size="2">
<b>From</b>: <a href="mailto:seaside-bounces@lists.squeakfoundation.org" target="_blank">seaside-bounces@lists.squeakfoundation.org</a> 
<br><b>To</b>: Seaside - general discussion 
<br><b>Sent</b>: Tue May 19 18:02:46 2009<br><b>Subject</b>: [Seaside] lastAccess, secondsSinceLastAccess
<br></font><div><div></div><div class="h5">
Hi all,<br><br>I subclassed WASession to have my own session class, now I need to know for how long the current user has been logged in, so I found these two methods belonging to WAExpiringHandler, of which WASession is a subclass (hence, from which my session class also inherits):<br>

<ul><li>lastAccess</li><li>secondsSinceLastAccess</li></ul>But when calling<i> html text: self session lastAccess</i> I get a couple of beautiful symbols (namely: ����). Tried to send every asSomething I found but couldn&#39;t get it to print a date or a time.<br>

<br>Then I tried calling <i>html text: (self session secondsSinceLastAccess) asEverything</i> but the best output I got was a zero.<br><br>Could you please point to me the proper way to get this information from the current session? I googled for a long while, but<i> seaside session time</i> and similar queries only pointed some interesting travel suggestions to me ;)<br>

<br>Thanks a lot in advance!<br clear="all"><br>Bernat.<br><br>-- <br>O HAI I&#39;M IN UR FOOTER SIGNATURING UR MAILZ<br>
</div></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>O HAI I&#39;M IN UR FOOTER SIGNATURING UR MAILZ<br>