Hi,
I've a master page (MainPage.master) and some content pages.
In my MainPage.master.vb, I've some security verfications like access, connection, rights management, etc.
And some others verifications in the contentPage.aspx.vb
But I realized that the master page code-behind is executed after the content page one so, if in some contexts, it works, it is not always true and it causes a security failure.
Is there a way to execute my master page code-behind first (I doubt of it) or do you have a better architecture to advise ?
Thank you
I've a master page (MainPage.master) and some content pages.
In my MainPage.master.vb, I've some security verfications like access, connection, rights management, etc.
And some others verifications in the contentPage.aspx.vb
But I realized that the master page code-behind is executed after the content page one so, if in some contexts, it works, it is not always true and it causes a security failure.
Is there a way to execute my master page code-behind first (I doubt of it) or do you have a better architecture to advise ?
Thank you
Last edited: