title: ViewBag, ViewData and TempData
body: <p>Could any body explain, when to use </p>
  
  <ol>
  <li>TempData</li>
  <li>ViewBag</li>
  <li>ViewData</li>
  </ol>
  
  <p>I have a  requirement, where I need to set a value in a controller one, that controller will redirect to Controller Two and Controller Two will render the View.</p>
  
  <p>I have tried to use ViewBag, the value gets lost by the time I reach Controller Two.</p>
  
  <p>Can I know when to use and advantages or disadvantages? </p>
  
  <p>Thanks</p>