steve589 Posted April 28, 2019 Share Posted April 28, 2019 How can I determine if my app is running in SSL-mode using HyperServer? I have a landing-page which is accessible in non-SSL-mode (http://...) When the user clicks the Login-button I switch to SSL via UniSession.UrlRedirect('https://www.xxx.com'); so in my app I need to know if it is started with or without SSL, but when I ask UniSession.URL it gives me always "http://..." - probably because the communication between HyperServer and my app is http and not https. How can this be done? Thanks for help Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 29, 2019 Share Posted April 29, 2019 Hi, Quote Link to comment Share on other sites More sharing options...
steve589 Posted April 29, 2019 Author Share Posted April 29, 2019 sorry, this does not work - UniSession.SSL is always false. remember, I'm using HyperServer... Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 29, 2019 Administrators Share Posted April 29, 2019 Quote it gives me always "http://..." - probably because the communication between HyperServer and my app is http and not https. Yes, that is correct. I will try to find a solution. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 29, 2019 Administrators Share Posted April 29, 2019 I will implement a fix in next build. Quote Link to comment Share on other sites More sharing options...
steve589 Posted April 29, 2019 Author Share Posted April 29, 2019 Thank you! Quote Link to comment Share on other sites More sharing options...
steve589 Posted May 4, 2019 Author Share Posted May 4, 2019 this is not working in 1.90.0.1498 - UniSession.SSL is always False Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 4, 2019 Administrators Share Posted May 4, 2019 Fixed. 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.