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

res.lastModified

Sets the date the resource was retrieved by the remote client.

Syntax
res.lastModified

By setting this property the remote client is told that the served resource has been modified at the given time. You then can check if the resource has changed given that the client includes this date in future requests for this resource.

Example

//in this example this.modificationDate is a property storing
//the time of the last changes to the current object
res.lastModified = this.modificationDate;


... comment


Page last modified on 2002-08-02 18:44 by rist