Posts Tagged ‘items’
HttpContext.Items[] vs Session[]
Since .NET first became available, passing data around during a request has become a lot easier. The ability to set a property has made that so. Still, there are times when setting a property just won’t do the trick.
One such time is getting data from the middle tier back up to the view separate from a DataBinding operation. That is, you databind a control to the middle tier and that method needs to set a value that will be used elsewhere in the view, not in the item that is being bound.
The natural, obvious tendency is to set a session variable. But there is a better way.
Other Related Items:
The Last Session - Religious Last Supper Parody with Hookahs, Wine, Joints & More - Sticker / DecalWe also carry a full line of CD, DVD, Tape & Record Supplies! As well as thousands of discontinued and out of print sound recordings (CDs, LPs, Cassettes). Quantity discounts available - please inquire. We sell wholesale and retail.
Ergonomic Luggage Scale Weighs up to 88 Lbs. New Compact Modern Design.Scale clips to handle of suitcase or bag. Lift bag with scale. A beep indicates measurement is taken. Set Luggage down. Weight will appear in LCD area. Push the button to reset for multiple bags.

