JavaScript Detect Protocol (HTTP/ HTTPS) To Load Or Handle Accordingly
Posted by
Hoan Huynh in
Javascript
|
Leave a comment
If you site’s running on both HTTP and HTTPS, we will need to determine whether the HTTP protocol for the requested page is either secure (HTTPS) or standard (HTTP) to load/write the appropriate external assets files or handle process correspondingly. Continue reading →
Tagged: HTTP, HTTPS, Protocol
ASP.NET Cookie Domains HTTP HTTPS
Posted by
Hoan Huynh in
CSharp
|
Leave a comment
In order to preserve cookies across primary domain and its sub domains with or without www and between http and https, you can check out a piece of asp.net written in C# code below Continue reading →
Tagged: ASP.NET, Cookie, HTTP, HTTPS, Request, Response