N
Neil Jarman
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.QueryString
if left(key,6) = "cboRun" then
iIndex = cint(mid (key,7))
response.Write(iIndex & "<br>")
session.Contents("iRunNo")(iIndex)=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.QueryString
if left(key,6) = "cboRun" then
iIndex = cint(mid (key,7))
response.Write(iIndex & "<br>")
session.Contents("iRunNo")(iIndex)=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