ZoSoo7
March 21st, 2003, 10:17 AM
This is not an ASP.NET question, but rather an ASP question. I'm writting a chat script at work and I need to display all who is logged on. I have the following array set up, but when I run isArray, it comes back false.
in the global.asa I have
Sub Application_OnStart
dim myArray(5)
Application("tempArray")=myArray
end sub
and then in one of my pages where I'm trying to get the array values:
dim myArray()
myArray = Application("tempArray")
It's not looking at the Application("tempArray") as an array. Anbody know what I'm doing wrong. Thanks
in the global.asa I have
Sub Application_OnStart
dim myArray(5)
Application("tempArray")=myArray
end sub
and then in one of my pages where I'm trying to get the array values:
dim myArray()
myArray = Application("tempArray")
It's not looking at the Application("tempArray") as an array. Anbody know what I'm doing wrong. Thanks