Auto Login

  • Thread starter Scott Whetsell, A.S. - WVSP
  • Start date
S

Scott Whetsell, A.S. - WVSP

With my application I am able to force users out for maintenance. What I
would like to be able to do is be able to have them automatically logged back
in, for certain circumstances. I'm using the front end updater application
which downloads the latest MDE to the local computer before launching the
program. If I'm just sending an update out, which may have critical bug fixes
in it, I would like the running version to quit, then launch the updater and
automatically login the user that was logged in.

My front end is secured through a MDW, and I can trap the username and
reload flag before the program exits. I don't know how to tell it to reopen
and automatically log in the last user.
 
P

PieterLinden via AccessMonster.com

Scott said:
With my application I am able to force users out for maintenance. What I
would like to be able to do is be able to have them automatically logged back
in, for certain circumstances. I'm using the front end updater application
which downloads the latest MDE to the local computer before launching the
program. If I'm just sending an update out, which may have critical bug fixes
in it, I would like the running version to quit, then launch the updater and
automatically login the user that was logged in.

My front end is secured through a MDW, and I can trap the username and
reload flag before the program exits. I don't know how to tell it to reopen
and automatically log in the last user.

Don't think you can do that... well, unless you do something like persisting
the login info into a text file or something. Just doesn't seem reasonable
to expect that you can close all open databases and expect to be able to
store a login credential somewhere when there's no thing to store it in.
That thing is closed. Maybe you could open another DB hidden and cache the
info there... and then pass it to the other database
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top