473,783 Members | 2,563 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

practical idea that I can use to "shut-down" users

Can anyone suggest a practical idea that I can use to "shut-down" users that
might still be connected to a database or logged off improperly so I can
compact the back-end?

Thanks for your assistance
Omey
Nov 12 '05 #1
6 2177
The code at the following link has worked very well for me. I have it set to
2 hours of inactivity. If the user does not do anything, then they are
kicked out ms-access.

I also write out to a table what user was kicked out, and thus users who are
NOT logging out at the end of the day can be notified.

You can find the code at:

a97
http://support.microsoft.com/default...b;en-us;128814

a2000
http://support.microsoft.com/default...b;en-us;210297
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@ msn.com
http://www.attcanada.net/~kallal.msn
Nov 12 '05 #2
thanks you very much, Albert, this will surely help

"Albert D. Kallal" <pl************ ********@msn.co m> wrote in message
news:_zyyb.5338 06$pl3.27009@pd 7tw3no...
The code at the following link has worked very well for me. I have it set to 2 hours of inactivity. If the user does not do anything, then they are
kicked out ms-access.

I also write out to a table what user was kicked out, and thus users who are NOT logging out at the end of the day can be notified.

You can find the code at:

a97
http://support.microsoft.com/default...b;en-us;128814

a2000
http://support.microsoft.com/default...b;en-us;210297
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@ msn.com
http://www.attcanada.net/~kallal.msn

Nov 12 '05 #3
TC
Have you ever had problems with the following scenario?

User clicks a custom Find button, enters the criteria, then clicks again to
find the record. Record is displayed, focus goes to the first field in
default tab order. User processes the data, then finds another record in the
same way. At this point, the cursor is still on the same field of the same
form, even though the user >has done< something. The code in question may
think that he has been inactive.

I've thought of using that code myself, but been worrired by the scenario
described above.

TC

"Albert D. Kallal" <pl************ ********@msn.co m> wrote in message
news:_zyyb.5338 06$pl3.27009@pd 7tw3no...
The code at the following link has worked very well for me. I have it set to 2 hours of inactivity. If the user does not do anything, then they are
kicked out ms-access.

I also write out to a table what user was kicked out, and thus users who are NOT logging out at the end of the day can be notified.

You can find the code at:

a97
http://support.microsoft.com/default...b;en-us;128814

a2000
http://support.microsoft.com/default...b;en-us;210297
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@ msn.com
http://www.attcanada.net/~kallal.msn

Nov 12 '05 #4
Thanks very much, Albert.

"Albert D. Kallal" <pl************ ********@msn.co m> wrote in message
news:_zyyb.5338 06$pl3.27009@pd 7tw3no...
The code at the following link has worked very well for me. I have it set to 2 hours of inactivity. If the user does not do anything, then they are
kicked out ms-access.

I also write out to a table what user was kicked out, and thus users who are NOT logging out at the end of the day can be notified.

You can find the code at:

a97
http://support.microsoft.com/default...b;en-us;128814

a2000
http://support.microsoft.com/default...b;en-us;210297
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@ msn.com
http://www.attcanada.net/~kallal.msn

Nov 12 '05 #5
"TC" <a@b.c.d> wrote in message news:1070258755 .362281@teuthos ...
Have you ever had problems with the following scenario?

User clicks a custom Find button, enters the criteria, then clicks again to find the record. Record is displayed, focus goes to the first field in
default tab order. User processes the data, then finds another record in the same way. At this point, the cursor is still on the same field of the same
form, even though the user >has done< something. The code in question may
think that he has been inactive.

I've thought of using that code myself, but been worrired by the scenario
described above.

TC


I had very good luck using the code.

If the user processes some data, then no doubt the cursor and the form used
changes. At any rate, for the user to process some data, the cursor and form
used likely does have to change.

In fact, if I recall, I actually changed the timer event to every 5 seconds
when it checks (I did NOT want to waste any cpu). I have heard of any of my
users complain. Further, when the code does kick them out, I write an entry
to a table logging this fact. Thus, if users were getting kicked out a lot,
then I would know about it.

With a 2 hours setting, you see a few kick outs by people who take long
lunches, and the rest are usually 2 hours after closing time.

--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@ msn.com
http://www.attcanada.net/~kallal.msn

Nov 12 '05 #6
Ok, thanks. Dropping the timer interval (while keeping the "kick-out"
interval) seems like a good way to go.

TC
"Albert D. Kallal" <pl************ ********@msn.co m> wrote in message
news:mrWyb.5447 16$9l5.511347@p d7tw2no...
"TC" <a@b.c.d> wrote in message news:1070258755 .362281@teuthos ...
Have you ever had problems with the following scenario?

User clicks a custom Find button, enters the criteria, then clicks again to
find the record. Record is displayed, focus goes to the first field in
default tab order. User processes the data, then finds another record in

the
same way. At this point, the cursor is still on the same field of the same form, even though the user >has done< something. The code in question may think that he has been inactive.

I've thought of using that code myself, but been worrired by the scenario described above.

TC


I had very good luck using the code.

If the user processes some data, then no doubt the cursor and the form

used changes. At any rate, for the user to process some data, the cursor and form used likely does have to change.

In fact, if I recall, I actually changed the timer event to every 5 seconds when it checks (I did NOT want to waste any cpu). I have heard of any of my users complain. Further, when the code does kick them out, I write an entry to a table logging this fact. Thus, if users were getting kicked out a lot, then I would know about it.

With a 2 hours setting, you see a few kick outs by people who take long
lunches, and the rest are usually 2 hours after closing time.

--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@ msn.com
http://www.attcanada.net/~kallal.msn

Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

99
6242
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a small or mid-sized business. http://groups-beta.google.com/group/microsoft.public.msdn.general/browse_thread/thread/9d7e8f9a00c1c7da/459ca99eb0e7c328?q=%22Proposed+MSDN+subscription+changes%22&rnum=1#459ca99eb0e7c328 Damn! To be that...
24
2769
by: jrefactors | last post by:
I have an upload file operation in the web application. UploadForm.jsp is the form, and UploadAction.jsp is the form processing. The web server is Websphere. //UploadForm.jsp <FORM NAME="InputForm" ACTION="UploadAction.jsp" METHOD="POST" enctype=multipart/form-data> <input type="file" name="fileName"> //etc ...
5
3495
by: j | last post by:
Anyone here feel that "global variables" is misleading for variables whose scope is file scope? "global" seems to imply global visibility, while this isn't true for variables whose scope is file scope. If you have a variable whose scope is file scope in another translation unit, you have to provide a local declaration to access that variable from the other translation unit. Also, I don't see "global variable" used once in the standard....
388
21930
by: maniac | last post by:
Hey guys, I'm new here, just a simple question. I'm learning to Program in C, and I was recommended a book called, "Mastering C Pointers", just asking if any of you have read it, and if it's worth the $25USD. I'm just looking for a book on Pointers, because from what I've read it's one of the toughest topics to understand. thanks in advanced.
289
1805
by: napi | last post by:
I think you would agree with me that a C compiler that directly produces Java Byte Code to be run on any JVM is something that is missing to software programmers so far. With such a tool one could stay with C and still be able to produce Java byte code for platform independent apps. Also, old programs (with some tweaking) could be re-compiled and ported to the JVM. We have been developing such a tool over the last 2 years and currently...
5
1880
by: Paul Sullivan | last post by:
We are a state agency that views protected medical information via our intranet. The screens even have privacy shields. Alarmingly, uses can "Print" and "Save As" which destroys the protection of the health information at the level we want. QUESTION: Can we shut those off?? Any other suggestions?? Paul Sullivan
14
2118
by: Frederick Gotham | last post by:
The original purpose of "inline" was that code could be "expanded in place". Of course, it has other uses... For one thing, the following two translation units will compile together succesfully into a program: /* source1.cpp */ inline int Func(double arg) {
206
8374
by: WaterWalk | last post by:
I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a footprint which says: "Indeed, one often hears arguments against building exibility into an engineered sys- tem. For example, in the philosophy of the computer language Python it is claimed: \There should be one|and preferably only one|obvious...
29
11119
by: candy_init | last post by:
Hi all, I just came across the following program: #include <stdio.h> int main() { float a = 12.5; printf("%d\n", a); printf("%d\n", *(int *)&a); return 0;
233
8704
by: Julian | last post by:
'evening. I'm not new to C and have been programming in it since I was 8 but here's a strange problem I've never seen before. When I compile a program from our C course with a windows compiler there is no problem but when I try to compile it with a linux compiler it complains that a_03.c:(.text+0x4d): warning: the `gets' function is dangerous
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.