Hi Experts
I need your help i getting my issue resolved.Here is My Issue
I want to send an string array through session and access the same string array in a different page.I am not sure how to send an array in a string and retrieve the same .Can anyone help me how to perform the declaration.I am a beginner to dotnet .Please Help me
thanks
Accessing an Array from a Session
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaish MathewsRank #225 · 11K reputationPosted Apr 16, 2011, 11:14 PM EDT
There is no need of expertise here. Do below straight forwrad steps
//Declare array and store it in a session
string[] names = { "One", "Two", "Three" };
Session[
//Reuse the stored session array
string
[] names = (string[])Session["Names"];"Names"] = names;karthik v115 reputationPosted Apr 17, 2011, 5:06 AM EDT
karthik v115 reputationPosted Apr 17, 2011, 5:06 AM EDT