Re: [qmailadmin] atime and md5

2004-01-15 Thread Jeremy Kitchen
On Thu, 2004-01-15 at 10:53, Rick Widmer wrote:
 If I remember right, atime (last accessed time) for files should be 
 available on Linux, BSD and most (all) UNIXes, but not on Windows so it 
 should be safe for QmailAdmin to use when cleaning up session files, or 
 limiting the length of a login session.  Right?

if you mount your filesystem with noatime, which is commonly done for
performance reasons, then no, it's not available.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



Re: [qmailadmin] atime and md5

2004-01-15 Thread Rick Widmer
Sorry about that, I hit the send button by accident...

If I remember right, atime (last accessed time) for files should be
available on Linux, BSD and most (all) UNIXes, but not on Windows so it
should be safe for QmailAdmin to use when cleaning up session files, or
limiting the length of a login session.  Right?
Second, can someone recommend a library that provides MD5?  I would like 
to use the result of a MD5 hash as the session ID rather than the login 
time.



Finally, can someone tell me how to retrieve the value of a cookie with 
C.  PHP hides all the gory details from me...

Thanks,
Rick