Click here to Skip to main content
14,872,699 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i store the values to in following manner
HttpCookie UserCookieN = new HttpCookie("userInfo");
           UserCookieN.Values["FrmType"] = Convert.ToString(Session["FrmType"]);
           UserCookieN.Values["UserId"] = Convert.ToString(UserId);
           UserCookieN.Values["BusId"] = Convert.ToString(BusId);
           UserCookieN.Values["FY"] = Convert.ToString(DdlFY.SelectedValue);
           UserCookieN.Values["RetType"] = Convert.ToString(DdlRetType.SelectedValue);
           UserCookieN.Values["NatRet"] = Convert.ToString(DdlNatRet.SelectedValue);
           UserCookieN.Values["Period"] = Convert.ToString(DdlPeriod.SelectedValue);
           UserCookieN.Expires = DateTime.Now.AddYears(30);
           Response.Cookies.Add(UserCookieN);

Now for specific "FrmType" there are multiple values of UserId,BusId,FY,RetType,NatRet,Period

At time retrieving values i want to get the values for that FrmType .
Posted
Comments
Sergey Alexandrovich Kryukov 13-Jul-11 13:53pm
   
Do not re-post!
--SA

1 solution

   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900