Can i control the application variables dynamicly
-
Which application variables? What are you trying to do? Ryan Johnston
-
Which application variables? What are you trying to do? Ryan Johnston
-
For example, I create a application variable Application("message") to store inforamtion,so under some situation I want to destory this application variable, can I do it and how?
Heh. You mean you want to kill some annoying message box? Ya, it's possible in some cases. Todd Smith
-
Heh. You mean you want to kill some annoying message box? Ya, it's possible in some cases. Todd Smith
-
Yes, sure you can. You can use these method in ASP (3.0) <% ' to remove all application variables in Application collection Application.Contents.RemoveAll() %> or <% ' to remove single application variable by name or index number Application.Contents.Remove("name") ' if you know the index of it you can use ' to remove first item in application collection. ' index of application variable start from 1 not zero. Application.Contents.Remove(1) %> Hope it help!:) ___________________________________________ lizhill
-
Yes, sure you can. You can use these method in ASP (3.0) <% ' to remove all application variables in Application collection Application.Contents.RemoveAll() %> or <% ' to remove single application variable by name or index number Application.Contents.Remove("name") ' if you know the index of it you can use ' to remove first item in application collection. ' index of application variable start from 1 not zero. Application.Contents.Remove(1) %> Hope it help!:) ___________________________________________ lizhill