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?
Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library. This article will introduce you to the SC library a…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.
There is also a companion Debug Toolbar that looks like the followin…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code.