Helma logo
helma.org » Home > Stories > session.lastModified

session.lastModified

The date a session was created or a login or logout was performed the last time.

Syntax
session.lastModified

This is a convenience property to acknowledge
that pages are often dependent on the login status and must be re-rendered when a user has logged in, logged out or is running with a
new session.

Additionally, this property can be set from script code.

Example
if (session.lastModified < this.modifytime)
  renderSkin("main");
else
  res.notModified();


... comment


Page last modified on 2002-08-02 18:42 by tobi