Frederick Posted September 24, 2020 Share Posted September 24, 2020 In my Hyperserver DLL configuration file, I set the following parameters:- [hyper_server] prompt_login=1 [login-0] user_name=myname password=mypass admin=1 but the server monitor login screen does not appear when my URL is http://www.mydomain.com/myapp/myapp.dll/server. I get the normal monitor screen. What am I doing wrong? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1534) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 24, 2020 Share Posted September 24, 2020 2 hours ago, Frederick said: but the server monitor login screen does not appear when my URL is http://www.mydomain.com/myapp/myapp.dll/server. I get the normal monitor screen. procedure TUniServerModule.UniGUIServerModuleControlPanelLogin( ASession: TUniGUISession; const Auser, APassword: string; var LoginValid: Boolean; LoginAttempt: Integer); begin if SameText(AUser, 'demo') and SameText(APassword, 'demo') then LoginValid:=True else begin if LoginAttempt=3 then ASession.Terminate('Login Failed'); end; end; \FMSoft\Framework\uniGUI\Demos\Desktop\ServerControlPanel Quote Link to comment Share on other sites More sharing options...
Frederick Posted September 24, 2020 Author Share Posted September 24, 2020 I tried the above and the login screen is shown when the app is compiled to an EXE and run directly. However, my setup is via a call to the Hyperserver's DLL which reads the Hyperserver's CFG file and then runs my EXE file. In this case, the login screen is not displayed and the Hyperserver monitor is just shown immediately. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 24, 2020 Administrators Share Posted September 24, 2020 Hi, Have you recycled the pool after changing the settings in the CFG file? Quote Link to comment Share on other sites More sharing options...
Frederick Posted September 24, 2020 Author Share Posted September 24, 2020 Yes, I have recycled all nodes just now. I am not sure if using the 1524 (32 bit) version of Hyperserver to run my 1534 (64 bit) compiled EXE could be a problem but I tried and failed to overwrite the 32 bit DLL but that is a story in another forum post. Quote Link to comment Share on other sites More sharing options...
Frederick Posted September 28, 2020 Author Share Posted September 28, 2020 I can report that version 1.90.0.1536's Hyper_server.dll now displays the login screen when the appropriate login parameters are set in the CFG file. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.