How to pass Page as ref parameter to a function
<p>I would like to know how Can I paas Page as Ref Parameter to a function</p>

<p>This is what I want to do</p>

<pre>
 <code>
  public partial class HomePage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if(!SetupUserPermission.isSessionExpired())
        {
            string UserId = Session["UserId"].ToString();
            SetupUserPermission.SetupUserRights(ref this.Page, Convert.ToInt32(UserId));
        }


    }
}
 </code>
</pre>
