I saved fileupload control in session. But when I am retrieving in another page(ie to know whether it has file or not),it is showing error as "object instances not set to an object". Where can be the fault? The code I used to get that fileupload control is
{
Fileupload myupload=(Fileupload)Session["Fileupload1"];
if(myupload.HasFile)
{
//some code
}
}