We have created a WebClass IIS application in vb and are running into a strange problem on one of our servers. We have a global.asa file that has logic to log a person out when the session ends..
strSessionId = Session.Contents.Item("strSessionId")
set oOBJ = Server.CreateObject("MyCOMP.MyObj")
oOBJ.SessionName = strSessionId
set oOBJ = nothing
The problem that we are seeing is that this event seems to be getting fired immediately after then logon. It is my understanding that this should not get fired until IIS times out. Currently we have this set to 20 minutes. Why is it getting called immediately. This only appears to happen on some of our servers. We have other that work fine. They are all Win2000 server boxes with SP1 installed. We have tried to compare IIS settings between the good and bad boxes and have not been able to see a difference.
Anyone ever seen this? IS there a better way to do the logout inside of the webclass?