title: How to pass value from one action to another action having same controller
body: <p>Hi I am developing an application in MVC3. and i am stuck at one place. Everytime when control goes to <code>IIndex1</code> action its argument value has become 0. But it should be same as value in <code>IIndex</code> action argument. I have used session, ViewBag, ViewData but my problem is remains. Please suggest me.</p>
  
  <pre><code>        public ActionResult GetMDN(string msisdn)
          {
              number = msisdn.Substring(0, msisdn.IndexOf('$'));
              if (number.ToLower() != "unknown" &amp;&amp; number.Length == 12)
              {
                  number = number.Remove(0, 2);
              }
              Session["msdresponse"] = number;
              Session["moptr"] = msisdn.Substring(msisdn.LastIndexOf('$') + 1);
              number = msisdn;
              int sngid=int.Parse(ViewData["isongid"].ToString());
              return RedirectToAction("IIndex1", new { iid = sngid });
          }
  
          public ActionResult IIndex(int id)
          {
              ViewBag.isongid = id;
              ViewData["isongid"] = id;
              Response.Redirect("http:XXXXXXXXXXXXXXXX");
              return RedirectToAction("GetMDN");
          }
  
          public ActionResult IIndex1(int iid)
          {
  
          }
  </code></pre>