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
lizhill
Posts
-
Can i control the application variables dynamicly -
Drop Down w/Multiple Selectionsyou can do this is VBScript/ASP like this: Hope it help!:) dim strSelect, arrSelect strSelect = Request.Form("APPMANAGER") ' check to see if user select multiple if Cint(inStr(strSelect, ",")) > 0 then ' user selects more than one entry, put in an array collection arrSelect = split(strSelect, ",") for i = 0 to UBound(arrSelect) ' you put send mail here or call a function to send mail doMail(arrSelect(i)) Response.Write arrSelect(i) next ' now you can do whatever with it. else ' strSelect has only one entry you can do it here. ' you can send mail here or call a function to send mail. doMail(strSelect) Response.Write "you select : " & strSelect end if sub doMail(managerID) ' do mail here end sub __________________________________________ lizhill