Hi all,
I'm having a problem detecting memory leaks, I've plugged up all the leaks that I can find, like nothing'ing objects, and closing recordsets before they are closed. I've gone to the extreme and still no results. The ASP memory is not very large (2.5MB), but the mtx.exe's (70-90MB)...
Thanks Swany,
That's what I wanted to know. I would need to make an activex control of some sort to access it because there is no direct access method available. Or put the directories in the global.asa file.
Mel
Richard,
Well no, but I would like to read it. We have different sites that we use for production, development, and QA. This have different directories and we end up having to hard code different values into our ASP which have to be changed depending on the site. We set up the registry with...
HI,
I would like to access the registry and change it or remove entries from it or just to read it from within an asp file rather than hardcoding directories into the asp file.
Is there an easy way to do this??
Mel
Since "x" is an object pointer and not a class name
set session("z") = new x does not work at all, I tried it!!
Also according to MSDN when you assign a new variable say newvar by setting it such:
set newvar = x, then newvar gets a pointer to x and the object is not deleted...
It is immaterial what the code is trying to do. This is a conceptual question. And that is if I create an object in ASP using server.createobject, then store it in a session variable, then delete the originally cretaed object by setting it to nothing, should the session object also be null at...
When I create an object using Server.CreateObject e.g.
set x = Sever.CreateObject("y")
then save it in Session("z")
set Session("z") = x
then set x to nothing the session("z") also is nothing
set x = nothing
now session("z") is also nothing...
Actually we used the Server.CreateObject and then the Object is stored in the Session(SES_SRSDOCUMENTOBJ)
like this
set Session(SES_SRSDOCUMENTOBJ) = SERVER.CreateObject("NECDocLibSRS.NECServiceRequestDocumentSRS")
then we use this to get the recordset
set recRequestByCust =...
Hi,
The problem is as follows.
<!-- xyz is our own concoction-->
set recRequestByCust = CreateObject(xyz)
<!--save it for future use by another page-->
If IsObject(recRequestByCust) Then
set Session("RECORDSET") = recRequestByCust
<!-- I'm done with rec now, and to avoid a memory...
I made an error, I left out the "set" command with the line
Session("RECORDET") = recRequestByCust,
it should be
set Session("RECORDET") = recRequestByCust,
I have it in the code, just not the posting.
Mel
Hi,
I'm new to ASP and so this is confusing. The problem is as follows.
<!-- xyz is our own concoction-->
set recRequestByCust = CreateObject(xyz)
<!--save it for future use by another page-->
If IsObject(recRequestByCust) Then
Session("RECORDSET") = recRequestByCust
<!-- I'm done...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.