Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Major mixup in two ASP.NET transactions
Message
From
03/09/2006 11:16:35
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01150471
Message ID:
01150596
Views:
35
>From within your LXFramework you could obtain the reference you need using System.Web.HttpContext.Current. This will give you visibility of the calling aspx page's response, request, session, application and server objects. This would mean changing all the framework code that uses the common oResponse, oRequest, oServer to
>HttpContext.Current.Response, HttpContext.Current.Request and HttpContext.Current.Server.

Yes, but I need to have a way to reference that as is presently. As per your next paragraph, that is what we would target for.

>As Viv has stated the core issue is with all client sessions accessing a single instance of your framework. You may wish to instanciate an individual copy of your framework for each session.

Correct, but I need to have the Initialize() method of the framework to be executed only once. This takes some time and all the core framework initialization is in there. I cannot afford to redo all that for every hit. When I was using WWWC framework, I implemented a way to have everything loaded in memory for the first hit of every WWWC instance I had in memory. Then, on the next hits, everything was extremely fast. I cannot think I wouldn't be able to achieve that in .NET. I cannot think everyone is building application that are initializing everything on every hit.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform