Login prob

May 26 2008 3:21 AM
hi sudhanva
I got a prob in my project. wen i login to web site, the default.aspx wil be displayed. In this page a Link Button is there(in which confidential documents are there), wen i click this button it should show login page again, so dat authorized person should open it. The username is in session. I redirected it then same cyclic process is going on ( again i login if click link button again login) wat to do??

protected void LinkButton3_Click(object sender, EventArgs e)
    {             

            FillRepeater();          
      
    }

    public  void FillRepeater()
    {
         
            //int startRecord = (int.Parse(CurrentPage.Value) - 1) * int.Parse(PageSize.Value);
            mvUser.SetActiveView(viewProducts);
            //DataSet ds = ConDB.GetProducts(startRecord,int.Parse(PageSize.Value));
            DataSet ds = ConDB.GetProducts();
            rptProducts.DataSource = ds;
            rptProducts.DataBind();

         
  }

Answers (1)