Hashtable ht = new Hashtable(); ht.Add("UserID", txtUser.Text); ht.Add("Type", type.Text); ht.Add("PaypalID", paypal.Text); Session["hashtab"] = ht; //-- Is this better way or below one.
Session["UserID"] = txtUser.Text; Session["Type"] = type.Text; Session["PaypalID"] = paypal.Text;
Please light over that in upper scenario my TL told me that hashtable takes minor memory on the server (suppose it takes 500 kb) rather than one by one (suppose it takes 3MB).
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)