How can I determine on the server-side when an incoming request is HTTPS? -


Is there an HTTP environment variable that I can use to use it?

What are you using on the server side? If you are using Java Servlet, You can follow the information:

  string scheme = request .getScheme (); String servername = request.getServerName (); Int portNumber = request.getServerPort ();  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -