Posted on 2003-03-05
I am experiencing a wierd problem with Session.contents.remove while attempting to remove several variants. Here is my code:
For Each strName in Session.Contents
if Left(strName, 8) = "histemp_" then
I have 105 session variants starting with "histemp_", and EVERYTIME I call this function, it removes the 57 first variants, and thereafter continue the loop without doing it. If I use the Session.Contents(strName) = "", it works well, so I think that Remove is the problem...
Has anybody ever experienced this problem and found a solution ?
By the way, I am using win2K server SP3 with IIS5 and no .Net framework, and I know using a lot of Session variants is bad :)