|Newbie questions about Pliant
Time and Date
|Message posted by maybe Rogerio Justino on 2001/03/03 04:42:58
|A have some doubts about this items.
--When ask to see when the server was started, i saw a clock that do no match with the clock showed by windows, Wy ?.
--I do not found any documentation about function that works with time and date, where can I found it ?
-- How can I get a logoff time of a user ?
|Message posted by maybe Hubert Tonneau on 2001/03/03 09:57:34
|Pliant is using the system time, not the local time.
It also looks like the documentation is missing, so you have to dig in the
code in module pliant/language/type/misc/datetime.pli
Lastly, you can't know when a user logs off, because HTTP is session less.
When a user requests an URL, the connection is closed nearly immediately
after the result is received. It does not mean that the user logged off.
In facts, the user really logs off when he stops his browser, or the Pliant
secured proxy, but the server will not know.