aspx thread: accessing <object> variable in code-behind file of .ascx
In my global.asax file I have the following line : <object id="userInfo" runat="server" class="CWInsurance.User" scope="Session"/> The purpose is to create a session level object which I can refer to in each .aspx page. I am able to access it on a .aspx page, but am wondering how I can access it from within an .ascx.cs page (code behind file of .ascx). Any ideas ? - Immanuel L'Heureux
|





