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?
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…