<system.web> <sessionState timeout="60" mode="InProc" /> <httpRuntime targetFramework="4.5" /> <compilation debug="true" targetFramework="4.5" /> <authentication mode="Forms"> <forms loginUrl="~/Account/Login" timeout="2880" /> </authentication> </system.web>
public ActionResult CreateBrand() { Session.Timeout=60; Purchase purchase = Session["purchaseItem"] as Purchase; if (purchase!=null && purchase.Brand != null) { return View(purchase.Brand); } return View(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)