Make sure that you haven't lost your delegate wireup (C#):
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com UnBlog:
http://petesbloggerama.blogspot.com [quoted text, click to view] "Franz" wrote:
> Hi,
>
> I have a page for sign out. In this sign out page, it calls Session.Abandon
> to remove the session.
>
> Then I inputs the URL of any protected page. I have placed some security
> checking code in the Page_Load. Since the Session is abandoned, any invalid
> access will redirect to the error page. However, I found that the Page_Load
> is not run (I add a breakpoint to this method). Why does it happen?
>
> Thanks.
> Franz
>
>
Hi,
I have a page for sign out. In this sign out page, it calls Session.Abandon
to remove the session.
Then I inputs the URL of any protected page. I have placed some security
checking code in the Page_Load. Since the Session is abandoned, any invalid
access will redirect to the error page. However, I found that the Page_Load
is not run (I add a breakpoint to this method). Why does it happen?
Thanks.
Franz