asp.net mvc - Tempdata or Session with respect to server memory consumption -


we adviced not use session objects store everything, mean careful before storing session save server memory excessive use. there no such advice on tempdata, tempdata stored in server memory. question if use tempdata , preserve values using keep() , peek() make difference on server memory if store them in session instead or handled in other way server?

they same thing. tempdata is session; keys related tempdata cleared after each request.


Comments