Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small Request - PostLoginHook()
Message
From
07/02/2003 21:30:54
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00750865
Message ID:
00750909
Views:
20
That's a good idea - thanks Dan. That would work. I'd prefer a PostLoginHook, but your technique is a suitable work-around.

>Hi David.
>
>I do this kind of stuff in the DisplayUserLogin method of the application object after doing a DODEFAULT. Returning .f. from this method will close down the application.
>
>HTH
>
>Dan
>
>>Kevin,
>>
>>Any chance we could get a postlogin hook from the do method of the application object?
>>
>>I have three needs for this:
>>1) I'm creating two versions of the same app. In the "server" version (which runs on the server), only a select group of folks can get in. I added an entry to the Users table, which I'd like to check in a postlogin hook.
>>2) When certain maintenance functions are running, I want to limit access to the system administrators.
>>3) I can give administrators the ability to turn on/off the auto-shutdown functionality.
>>
>>If the hook returns .f., the application should close.
>>
>>Thanks,
>>
>>David
Previous
Reply
Map
View

Click here to load this message in the networking platform