Ben Ball Posted February 23, 2006 Posted February 23, 2006 Is it possible to ask someone to log in but not allow them to cancel? I have a script that loops and the only way out is if a check field is = to "operator", the only other way out is if the person clicks cancel on the re-login screen. How can I stop this? I mean I can stop the user from going anywhere, but the script is kind of not complete how I want it. Ben
Wim Decorte Posted February 23, 2006 Posted February 23, 2006 A looping script is probably the worst kind of "security" feature you can have. It can be stopped by any Halt script run in any FM file. For instance: we open your solution and the script starts looping. I run a VBscript to open my utiltiy file and tell it run a script with only one script step: Halt.... Your looping script is done. Your file is wide open.
Ben Ball Posted February 24, 2006 Author Posted February 24, 2006 Hi, I have'nt got a looping script on startup, its something within the database. What it is: I have a situation where a supervisor must sign off a job. Once the job is passed off I need to ensure that the operator logs back in. But the operator can press cancel when requested to log back in, thus, having access to the supervisors access privileges. Any idea how I can achieve this?
Wim Decorte Posted February 24, 2006 Posted February 24, 2006 Are you using the dialog from the re-login script? What is returned when you do an error capture right after showing the re-login dialog and pressing cancel? Maybe you can branch your code based on that result. If not, show a custom dialog and use the values entered there for a relogin script that does not show the relogin dialog.
Recommended Posts
This topic is 6849 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now