Date: 05/25/00
- Next message: Jose Luis Rodríguez Sevilla: "[phplib] Abrir y leer un Fichero Local"
- Previous message: Kartic Krishnamurthy: "[phplib] Garbage Collection"
- In reply to: Tuncay Baskan: "[phplib] Last logged in message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tuncay Baskan wrote:
> I want to add a last logged in message that will show users
> when they last logged in like UNIX systems. I think I should
> add a column to auth_user table and process the login time
> in auth->auth_validatelogin.
Would a user variable work in this case? At first glance it looks like
it should.
It would probably be better in any case to store your data in the
active_sessions table, since that's very volatile where auth_user is
very static. You can define your own value for the "name" column.
Toby
PS. This looks like a pretty useful feature so please let the list know
what you come up with.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Jose Luis Rodríguez Sevilla: "[phplib] Abrir y leer un Fichero Local"
- Previous message: Kartic Krishnamurthy: "[phplib] Garbage Collection"
- In reply to: Tuncay Baskan: "[phplib] Last logged in message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

