[prev in list] [next in list] [prev in thread] [next in thread]
List: twig
Subject: Re: [twig] Feature request
From: Forrest Aldrich <forrie () forrie ! com>
Date: 2002-04-13 3:04:05
[Download RAW message or body]
Just a simple security feature. Some banks, for example, do this on their
pages to show you where and when you've accessed your account last.
At 03:51 PM 4/11/2002 +0000, you wrote:
>Well, TWIG already stored the time of the last page load for each user, so it
>would be trivial to stick that somewhere. (Since HTTP is stateless, users
>essentially re-login on every page load.) TWIG does not store the last time
>the login form was processed, though, if that is what you are looking for.
>That would require you to do a little more work, but it's certainly doable.
>
>The IP of the client machine is another matter. You can use $REMOTE_ADDR
>(which is what TWIG uses on outgoing mail, if $config["smtp_clientip"] is
>enabled), but that isn't always reliable. There is quite a bit of discussion
>on how to do this in PHP in the user contributed notes on the online PHP
>manual entry for predefined variables:
>http://www.php.net/manual/en/language.variables.predefined.php .
>
>Why are you wanting to do this anyway? Screen real estate is already pretty
>tight in TWIG.
>
>
>--
>Craig Foster
>craig@wiw.org
>
>Forrest Aldrich <forrie@forrie.com> said:
>
> > How about something that will, optionally, say:
> >
> > Last logged in on: Mon Apr 1 12:56:06 EST 2002
> > From: some.host.com (123.45.67.89)
> >
> >
> >
> > Forrest
> >
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic