Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Array using Session Variables

Status
Not open for further replies.
Aug 16, 2001
26
0
0
NZ
I need to pass an array from one ASP page to another ASP page. For this, I tried using the Session Variable, but it is not working and I'm getting "Internal server error
", can anyone please help me on this.

My code is ...

ASP Page-1
**********
Dim MyArray(x,y)
Session("MySesArr") = MyArray

ASP Page-2
**********
Dim MyArray(x,y)
MyArray = Session("MySesArr")



 
I got it working. In my ASP Page-2 i made a change. I removed the dimensions while declaring the array and it worked fine for me.

ASP Page-2
**********
Dim MyArray
MyArray = Session("MySesArr")


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top