By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,871 Members | 1,645 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,871 IT Pros & Developers. It's quick & easy.

Can't Maintain Session State for String Array

P: n/a

I am having trouble retrieving the value of a Session variable that ha
a string array (the same problem occurs if I use a numeric array
stored in it when I redirect from one page to another. The problem i
that the value appears to be lost when I redirect from the page
defined the string array in to another page.

The script language I am using is JavaScript.


Session("tempArray") = new Array("1","2","3","4");
Response.Write("<BR>Session(tempArray): "+Session("tempArray")); /
prints: Session(tempArrray): 1,2,3,4


Response.Write("<BR>Session(tempArray): "+Session("tempArray")); /
prints: Session(tempArrray):

Page2.asp is printing nothing (e.g. blank) for the value o

I thank you in advance for helping me solve this problem

JLSSCH's Profile:
View this thread:

Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.