I'm creatin a mobile web application that interacts with an aparthment threaded FoxPro dll. So i needed to specify aspcompat=true in the page directive of my mobile page. <BR><BR>I also want to use the Session_OnStart method of my global.asax.vb to create an instance of the dll. That didn't work because the global.asax file doesn't specify aspcompat=true. So, I can only instantiate the dll in my .aspx file. <BR><BR>I have two questions :<BR>=> Can I instantiate an aparthment threaded dll in the Session_OnStart of my global.asax file? <BR>=>And if not, can I specify the Session_OnStart in the script section of my .aspx page (I tried this but that didn't work)?