Ask a Question related to ASP Database, Design and Development.
-
fabriZio #1
Kill all objects in my page
Can I kill (set obj = nothing) ALL objects in my asp page?
For example I have 5-6 object and I want to kill all together...without
knowing
their name.
something like this...
for each myObj in obj.count - 1
set myObj = nothing
next
any help appreciated.
regards
--
==
fabriZio
fabriZio Guest
-
Can not see Scripting objects in web page generated from Excel she
Hi I've created a web page by exporting a worksheet from Excel that has embedded Windows Forms controls on it. I'm replacing these with Scripting... -
library objects move off page
I have been experiencing a strange bug on Freehand MXa (v11.02 on Mac os 10.3.4) ... I am constructing a drawing using various library elements I... -
Changing stacking order of objects on the page
I am using Acrobat 6.01. After selecting an object with the Touch Up Object tool, and editing it in either Photoshop or Illustrator, the object... -
[PHP] Can Objects be passed to another page?
On 03 September 2003 12:55, Harry Wiens contributed these pearls of wisdom: .... but make sure the class definition is included *before* the... -
Can Objects be passed to another page?
Hi, is it possible to pass an Object to another php page? I want to pass a whole bunch of varibales to another page. For example the session ID,... -
Bob Barrows #2
Re: Kill all objects in my page
fabriZio wrote:
Sorry, there's no builtin objects collection. Now if you created an array of> Can I kill (set obj = nothing) ALL objects in my asp page?
>
> For example I have 5-6 object and I want to kill all
> together...without knowing
> their name.
>
> something like this...
>
> for each myObj in obj.count - 1
> set myObj = nothing
> next
>
objects, you could do something like this.
Bob Barrows
Bob Barrows Guest
-
Upendra #3
Kill all objects in my page
Hi,
Try the below code in global.asa under Session End event.
Dim i as integer
For i=0 to objcount-1
set obj(i)=nothing
next
Upendratogether...without>-----Original Message-----
>Can I kill (set obj = nothing) ALL objects in my asp page?
>
>For example I have 5-6 object and I want to kill all>knowing
>their name.
>
>something like this...
>
>for each myObj in obj.count - 1
> set myObj = nothing
>next
>
>any help appreciated.
>
>regards
>
>
>--
>==
>fabriZio
>
>
>
>
>.
>Upendra Guest
-
Tammy B. #4
Re: Kill all objects in my page
what about the
session.staticObjects collection?
HuH?
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:uC0DMYGTDHA.1576@TK2MSFTNGP12.phx.gbl...>> > set obj(i)=nothing
> What is obj(i)? This would only work if you had actually created an array
> to store each object, and kept track of how many elements in the array
> actually contain open and valid objects.
>
> Otherwise, go through your code and close and destroy all the objects you
> create.
>
>
Tammy B. Guest



Reply With Quote

