Helma logo
helma.org » Home > Stories > session.touch()

session.touch()

Refreshes the user's session.

The session's expiration date is set to the current date plus session timeout. This also happens automatically when a user request is sent to Helma.

Syntax
session.touch()

Example
res.writeln(session.lastActive);
Fri Jul 12 14:40:20 CEST 2002

session.touch();
res.writeln(session.lastActive);
Fri Jul 12 14:55:20 CEST 2002


... comment


Page last modified on 2002-07-12 13:06 by tobi