Application objects are common for all users for your application.
This code can be used to set the application variable.
<%
'setting a global application variable
'Good idea to lock and unlock setting these
Application.lock
Application("strAppName") = "Super duper application"
'unlock
Applicaton.unlock
%>
This code is used to retrieve the application variable.
<html>
<head>
<title>
</title>
</head>
<body>
This application is called:
'reading a global application variable
Response. Write Application("strAppName")
</body>
</html>
Remember this can be used by any user.
copyright 1999-2008 VisualBuilder.com