Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

auto logout / time out

Status
Not open for further replies.

jymm

Programmer
Apr 11, 2002
707
0
0
US
I was under the impression from our 'partner' that in 7.5 I could either force a user to log out (time them out after so many minutes of inactivity in Dynamics) OR send the user a message at midnight telling them that they need to log out of the system to update the date.

Granted this is only a problem for one very restricted user (who they want to be logged in as much as possible), but it is a problem when the Dynamics date does not change since dates in the SOP records do not change correctly.

Anyone konw where these options are???
 
yeah I do.... they don't exist.

your var doesn't know what he's talking about.

Omni Tools (Musgrave's product) had that option, but even that was limited and a user could still lock himself in by starting a transaction.

There is no "safe" way to boot a user out of Dynamics



-----------
and they wonder why they call it Great Pains!

jaz
 
The product you want is the Omni Password module of Omni Tools, it has an inactivity timeout feature.

As Jaz says, if a dialog comes up when trying to exit, the auto logout will be aborted. It is too dangerous to risk data damage by forcing a hard exit.

Jennifer Musgrave
Winthrop Dexterity Consultants
The Home of Omni Tools and Omni Price
mailto:info@nospam-winthropdc.com
 
interesting --- going back through the email I find that GreantPains simply wanted me to add another line to the dex.ini

actually I have found that in 7.5 there is a new window that pops up at midinight asking if the user wants to change the user date to the current date -- although not the absolute desired function, this will have to do.
 
You can use SuppressChangeDateDialog=TRUE to stop the dialog coming up, but that also stops the date changing.

David Musgrave
Senior Development Consultant
MBS Services - Asia Pacific

Microsoft Business Solutions

mailto:dmusgrav@nospam-microsoft.com

Any views contained within are my personal views and
not necessarily Microsoft Business Solutions policy.
 
If you're willing to risk a possible locked transaction or something similar. Set yourself up a sql job to

use DYNAMICS
Delete ACTIVITY

Run it say at midnight or some ungodly hour.

that'll boot whomever out but their interface will still be open (just not connected)


prepare for a lot of dex locks or SY00801 stuck transactions

Hopefully no one is running a process at the time of boot, that could be dangerous. Although if GP press is worth anything (sic) transaction rollback should take care of any mess.



-----------
and they wonder why they call it Great Pains!

jaz
 
ooooh.... that whole concept scares me. :)

Also GP will not throw you out until you attempt to "do something" that opens a form (window), report or table.

David Musgrave
Senior Development Consultant
MBS Services - Asia Pacific

Microsoft Business Solutions

mailto:dmusgrav@nospam-microsoft.com

Any views contained within are my personal views and
not necessarily Microsoft Business Solutions policy.
 
scares me a bit too --- ok - so maybe just my sql script to send them a reminder on top of the reminder that they are getting from Dynamics will do for now... or I could just slap them around a bit.

still would love to know why GP pulls that date instead of the system date (server) for some situations... but for another day's discussion I guess.
 
Slapping the users might work, but could get you into trouble.

As for the date.... It pulls the workstation's date to set the User Date on login. That was because when it was orginally written there was no SQL Server support.

It then continues to use the User Date, so that users can enter transactions on a different date to today.

David Musgrave
Senior Development Consultant
MBS Services - Asia Pacific

Microsoft Business Solutions

mailto:dmusgrav@nospam-microsoft.com

Any views contained within are my personal views and
not necessarily Microsoft Business Solutions policy.
 
I know what they are doing --- just do not like the fact that the user can make the system think that transactions were done one date - when in fact they were done another... ah well --- another great pain to deal with/program around.
 
I know what they are doing --- just do not like the fact that the user can make the system think that transactions were done one date - when in fact they were done another... ah well --- another great pain to deal with/program around.

Tryed slapping the guys at the plant --- they liked it too much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top