inetserver asp components:
Hello
I have a VFP comopnent. i registered in my Server2000 and added it to my Component manager.
I made 9 more copies of my component and basically did the same step so now i got 10 components taking care of my web app (ASP)
I have a problem
In order to sort the components among the users (sessions) in my event OnSessionLoad i do this
set Session("Rater")=CreateObject("MyComponent" + Rnd(0,10))
this works perfect. This way i "equally" serve one of the 10 components to each user getting in my website.
in my Component Manager i can see my 10 components "rolling" and where it says Objects i can see an increasing and decreasing number as weel as Time response, In Call... etc etc.
BUT all of a sudden all that information gets reseted by itself. It happens the same like if i had shutdown the component.
ALSO, somehow, i have my suspicious that when one of the session ends, it clears the session variable for all other sessions that are "sharing" or created the same component.
For example, if a User got in, a session automatically is created. We create also the Rater session that stores the component object. let's suppose this user create MyComponent5. Let's suppose that 18 other users "created" the same component. Whn that first user that was the "first" using the components ends its session, the rest of the users with the same component in its session variable loses the value.
Does it makes sense?
Please, does anyone knows about this
--
NNTP.hk - (^(oo)^)
http://www.nntp.hk/web/