I have a bunch of session vars:
I want to loop through them until I see that they don't exist anymore (ie, var5, in this case).
this is how i'm attempting it, but I seem to be in an infinite loop.
Is there something wrong with that?
Thanks.
Code:
session("var0")
session("var1")
session("var2")
session("var3")
session("var4")
I want to loop through them until I see that they don't exist anymore (ie, var5, in this case).
this is how i'm attempting it, but I seem to be in an infinite loop.
Code:
Dim iCount As Integer = 0
While (Session("RFP" & iCount.ToString) <> "")
'some code here...
iCount = +iCount
End While
Is there something wrong with that?
Thanks.