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

res.realm

Sets the realm for a HTTP-authentication challenge

This defines the realm for a HTTP-authentication challenge. The realm is the name of a protected space. A server can have several realms, but resources within one realm should share the same authorisation - a valid authorisation should be valid as well for requesting another resource within the same realm.

Syntax
res.realm

Example
res.status = 401;
res.realm = "Helma protected area";


... comment


Page last modified on 2003-08-25 17:21 by rist