|
|
|
|
|
| | |
|
PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Session Variables and Arrays |
From: |
John |
Date: |
3/10/1999 10:15:06 AM |
IP: |
208.198.97.5 |
One last question on this! Do you have to declare the "MyArray" varaible from your code in the global.asa?
If not how would I access the array from a differant page? I have tried assign it both ways, and just using the "MyArray" and "TestArray". None of those methods have seemed to work.
Here is the code I used on my last attempt for the first page where the data is being inputed into the array. I am calling a function that works correctly. Each Item is being outputed correctly.
Dim Input_Array()
Call Search_For(Main_Str,Input_Array,Counts)
For Each Item In Input_Array
Response.Write(Item) & "<Br>"
Next
Session("North_Input_Array") = Input_Array
Page 2 consists of this code.
Dim Item, Output_Array()
Output_Array = Session("North_Input_Array")
For Each Item in Output_Array
Response.Write(Item) & "<Br>"
Next
This code gives me a type mismatch when trying to assign Output_Array to the session array.
If you could clear this up it would be much appreciated!!!
John
|
Previous Message
Follow Up - Re: Session Variables and Arrays - Tim 3/11/1999 8:03:50 AM
|
|

|
|
|
|
|
|
|
|
|
|