In my ASP Application I'm assigning arrays to Application variables. These arrays are defined by month, so every month a new Application-scope array is created. What I want to do is erase the previous month's Application-scope array, but I get a type mismatch error.
here's a code sample.
here's the output:
isArray: True
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'erase'
/modace/specials.asp, line 25
Application("special_" &sMonth) is a two-dimensional array, i don't know if that will help you.
thanks in adv.
here's a code sample.
Code:
sMonth = Month(date)
Response.Write "isArray: " &isarray(Application("special_" &sMonth))
erase Application("special_" &sMonth)
here's the output:
isArray: True
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'erase'
/modace/specials.asp, line 25
Application("special_" &sMonth) is a two-dimensional array, i don't know if that will help you.
thanks in adv.