Virtual Student Yrbook: Variables>Arrays>Variables? SOMEBODY RESCUE ME!

Hello, All.

I am totally stumped. I am creating a student virtual yearbook, which displays students names with pictures. I cant find a totally understandable tutorial that teaches me how to extract variables from an array. So I created an asp file that writes out all of the student records to different variable names, and load them using loadvariablesnum(). Using this ASP file works, but once I click the exit button to take me back to the front page, it is as if all of my other variables are erased.

I dont completely understand levels when it comes to loading variables, so everything is loaded like this

loadVariablesNum(“http://10.0.1.2/tp/tpod/processGet_studentInfo.asp”, 0, “GET”); — “POST” gives me the same results…

To view the pictures you would click a button on SCENE 4, and it takes you to “VIEW STUDENTS PICTURES” - SCENE 11. ‘EXIT’ sends you back up to Scene 4, which runs an ASP file which simply grabs a message that is updated every 30 minutes. What Level would I use here??? I have tried many.

Everything works beautifully until I exit the VIEW STUDENTS PICTURES page from Scene11

I’ve written a pretty sizeable file that uses lots of variables.

I am pretty sure that the problem is with the ASP file: “processGet_studentInfo.asp” - because when I comment it out, the application works fine.

::::::::::::SUPPORTING INFO BELOW:::::::::::::::

Here are the variables that “processGet_studentInfo.asp” creates:
&varStudent1=Crystal&varImagePath1=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FCrystal%2Ejpg&varStudent2=Brandy&varImagePath2=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FBrandy%2Ejpg&varStudent3=Angel&varImagePath3=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FAngel%2Ejpg&varStudent4=Cathy&varImagePath4=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FCathy%2Ejpg&varStudent5=Destiny&varImagePath5=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FDestiny%2Ejpg&varStudent6=Amber&varImagePath6=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FAmber%2Ejpg&varStudent7=lester&varImagePath7=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2Flester%2Ejpg&varStudent8=paul&varImagePath8=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2Fpaul%2Ejpg&varStudent9=Ginger&varImagePath9=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FGinger%2Ejpg&varStudent10=Brittany&varImagePath10=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FBrittany%2Ejpg&varStudent11=chad&varImagePath11=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2Fchad%2Ejpg&varStudent12=jaden&varImagePath12=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2Fjaden%2Ejpg&varStudent13=Jami+Lynn&varImagePath13=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FJami+Lynn%2Ejpg&varStudent14=kara&varImagePath14=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2Fkara%2Ejpg&varStudent15=Cody&varImagePath15=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FCody%2Ejpg&varStudent16=darla&varImagePath16=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2Fdarla%2Ejpg&varStudent17=Jenna&varImagePath17=http%3A%2F%2F10%2E0%2E1%2E2%2Ftp%2Ftschool%2Fimages%2FJenna%2Ejpg&varStudentCount=17&varENDER=1


Here is the meat & potatoes of the ASP file that created this:
oRS.Open “SELECT * FROM STUDENTS”, oConn, 2, 3

' Move to the first record 
 oRS.MoveFirst
 
 'Loop to output all the query results to the document

do while not oRS.eof

’ counter to give each record a sequential listing
counter=counter+1

Response.Write “&varstudentname” & counter & “=” & Server.URLEncode(oRS(“studentname”))& “&varImagePath”& counter & “=” & Server.URLEncode(oRS(“ImagePath”))

’ move to the next record
oRS.movenext
loop

'LET FLASH KNOW THAT WE ARE DONE RETRIEVING
Response.Write “&varStudentCount=” & counter
Response.Write “&varENDER=finished”
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Please help.