ApplicationAdapter.js
Summary
Contains ApplicationAdapter class.
This is part of Troika.ASP Framework - web development MVC framework for ASP 3.0.
Please visit www.troika-asp.com for more details.
Version: $Revision: 1.3 $
Author: Pavel Chuchev pav@troika-asp.com
|
Class Summary
|
| ApplicationAdapter |
This is ApplicationAdapter class the base class for all user defined commands. |
ApplicationAdapter.APP_ROOT = "root";
function ApplicationAdapter() {
}
ApplicationAdapter.prototype.put = function (key, value) {
Application.Lock();
if (value) {
Application.Contents(key) = "" + value;
}
else {
Application.Contents.Remove(key);
}
Application.UnLock();
};
ApplicationAdapter.prototype.get = function (key) {
return Application.Contents(key);
};
ApplicationAdapter.prototype.getAppRoot = function () {
return this.get(ApplicationAdapter.APP_ROOT);
};
ApplicationAdapter.prototype.remove = function (key) {
Session.Contents.Remove(key);
};
www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008