G
Guest
Hello All:
I have two webforms (WebForm1.aspx and WebForm2.aspx) that inherit from a
base class called BasePage.aspx. BasePage.aspx has no user interface but
inherits System.Web.UI.Page (BasePage performs security checks in the
Page_Load ... Handles MyBase.Load event). BasePage also has a hidden field
(hdnSessionId) that I want to use to cache a sessionId (client requirement).
I can not use Session, ViewState or QueryString to cache this value (client
requirement).
Here's my question: How do I reference hdnSessionId from within
WebForm1.aspx and WebForm2.aspx? I'm pretty sure that I can do this.
hdnSessionId is in WebFrom1's parent class.
I'm sure that this is somewhat straightforward. I'm also sure that it
involves the MyBase.Controls collection. I'm just not sure how to proceed
when drilling upward in lieu of drilling downward when looking for a control.
Any help would be appreciated.
TIA,
I have two webforms (WebForm1.aspx and WebForm2.aspx) that inherit from a
base class called BasePage.aspx. BasePage.aspx has no user interface but
inherits System.Web.UI.Page (BasePage performs security checks in the
Page_Load ... Handles MyBase.Load event). BasePage also has a hidden field
(hdnSessionId) that I want to use to cache a sessionId (client requirement).
I can not use Session, ViewState or QueryString to cache this value (client
requirement).
Here's my question: How do I reference hdnSessionId from within
WebForm1.aspx and WebForm2.aspx? I'm pretty sure that I can do this.
hdnSessionId is in WebFrom1's parent class.
I'm sure that this is somewhat straightforward. I'm also sure that it
involves the MyBase.Controls collection. I'm just not sure how to proceed
when drilling upward in lieu of drilling downward when looking for a control.
Any help would be appreciated.
TIA,