I noticed that I have some accounts that have no lastlog.in file in the user
folder and there is no LastLogin entry in the registry.  Does this mean that
this account was never accessed either by POP3 or WebMessaging?  When I open
the users folder there are other folders that could have only been added via
WebMessaging or IMAP.  Also I have some registry entries for LastLogin that
are string values with a date.  Where did these come from?  Any ideas?
Could the WebMessaging LastLogin registry record be a newer feature.  We
have been using IMail since July 1997.  That could account for the
irregularites.

Thanks in advance for the help,

Tom Wagoner

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christopher
Ulrich
Sent: Friday, April 05, 2002 10:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Registry Value: LastLogin -- what is stored
in this value?


That's what I thought, but I've been experimenting in Cold Fusion and I'm
not getting the right date....

The number seems to be off by approximately 287 minutes.
To get the right result (within a few seconds), I used:

<CFSET Now=1018060729>
<CFSET TheDate=DateAdd("s", now, "01/01/1970 00:00:00")>  /// Add this
number of seconds to Midnight, 1/1/70
<CFSET TheDate=DateAdd("n", -287, TheDate)> /// This subtracts 287 minutes
from the date

<CFOUTPUT>#now# =
#LSDateFormat(TheDate,"mm/dd/yyyy")#  #LSTimeFormat(TheDate,"hh:mm:ss")#
</CFOUTPUT>

This returns the right value within about a one minute timespan.

If it is useful for anyone, help yourself!

And thanks for the quick response, Mike!

- Chris

At 09:36 PM 4/5/2002, you wrote:
>The number of seconds since Jan 1, 1970 00:00:00 and the last login?
>
>Mike
>
>----- Original Message -----
>From: "Christopher Ulrich" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, April 05, 2002 9:01 PM
>Subject: [IMail Forum] Registry Value: LastLogin -- what is stored in this
>value?
>
>
> > In the registry under a POP account there is a key
> > called "LastLogin" with a cryptic number...
> >
> > For example, a login today shows: 1018033109
> >
> > Does anyone know the significance of this number?  How to decode it?
> >
> > Thanks
> >
> > Chris
> >
> >
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
> >
> > An Archive of this list is available at:
> > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> >
> > Please visit the Knowledge Base for answers to frequently asked
> > questions:  http://www.ipswitch.com/support/IMail/
> >
>
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.
>
>An Archive of this list is available at:
>http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
>Please visit the Knowledge Base for answers to frequently asked
>questions:  http://www.ipswitch.com/support/IMail/


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/

Reply via email to