I have a GRID (table) that when selecting an item through the ID I load the entity in a session via ajax.
public static class Sessoes
{
public static Produto Produto
{
get
{
return (Produto)HttpContext.Current.Session["Produto"];
}
set
{
HttpContext.Current.Session["Produto"] = value;
}
}
}
I wonder if it would be a bad decision to save every entity in a session? What do you think? Do you know any disadvantages in using this practice ?