Hi,
I need to create an array with a session variable.
According to my book, the following should work,. but if fails
for each key in request.QuerySt ring
if left(key,6) = "cboRun" then
iIndex = cint(mid (key,7))
response.Write( iIndex & "<br>")
session.Content s("iRunNo")(iIn dex)=iIndex
end if
next
it is the (iIndex) part which fails. If I remove this, then I can create a
single session variable
Any suggestions where I'm going wrong.
Many thansk
NEIL
I need to create an array with a session variable.
According to my book, the following should work,. but if fails
for each key in request.QuerySt ring
if left(key,6) = "cboRun" then
iIndex = cint(mid (key,7))
response.Write( iIndex & "<br>")
session.Content s("iRunNo")(iIn dex)=iIndex
end if
next
it is the (iIndex) part which fails. If I remove this, then I can create a
single session variable
Any suggestions where I'm going wrong.
Many thansk
NEIL
Comment