Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: accessing <object> variable in code-behind file of .ascx


Message #1 by "Immanuel L'Heureux" <Immanuel_L'Heureux@c...> on Thu, 18 Jul 2002 21:59:40
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

  Return to Index