I would like to prepare session which will be using tables and in another websites will be add new items to session.
Default.cs
string[] tab = new string[100];
tab[0] = "songo";
tab[1] = "tom";
Session["login"] = tab;
Response.Redirect("panel_admina.aspx");
panel_admina.cs
and here I have got problem because in next website I would like add something to my existing session for examle:
Session["login"].[2] ="adam" ?
and later read only existing data which is in table not all table [100].
What should I do to do it?
1 Answer