I'm using the code below (a shortened version as a test). It is invoked on application start and collects data for use by the individual sessions. The problem I'm having is it doesn't work on one machine but is fine on the other
Is using .Clone the correct way of caching or is that the cause of my problems?
Public Shared Sub LoadGroups() Dim arrGroups As New ArrayList for i = 1 to 100 arrGroups.Add("test" & i) Next HttpRuntime.Cache("Groups") = arrGroups.Clone Thread.Sleep(2000) End Sub
View Complete Post