Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Major mixup in two ASP.NET transactions
Message
From
03/09/2006 16:25:46
 
 
To
03/09/2006 13:40:10
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:
01150613
Views:
31
Hi,

>The framework contains about a hundred properties. Some of them are collections. For example, when the Initialize() is being executed, it will read all connection string of the Main.ini file and store it into a collection. This sets up the startup directory, temporary directory and other Main.ini file properties. It also store proprietary application mode properties such as if the framework is executed from the ASP.NET environment, from the Web Service or from a desktop application. It also stores a lot of labels into memory, such as a list of months in various languages, days, etc. One of the other objects also is the oServer property. The Initialize() method also detects if we have to log every hit of the application, where to log it, which connection string to use for it, etc. Some things are related to a debug mode and related items. Which one of those specific information do you need exactly?

OK. AFAICS none of the above are request/page specific (i.e. they are global and don't change from hit to hit) ? If that's true then we're back to something I suggested earlier. Just change your oResponse and oRequest properties in your framework class so that they reference the current request:
 Public Property oResponse
    Get
      Return HttpContext.Current.Response
    End Get
End Property

Public Property oRequest
  Get
     Return HttpContext.Current.Request
  End Get
End Property
HTH,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform