Posted on: 7/15/2012 12:46:35 PM | Views : 244

Hi All,
There is one login page whose url starts with "https" and I want to detect it and if I find "https" then need to do some conditional code. On my local machine, checking of "https" is working properly with "System.Web.HttpContext.Current.Request.IsSecureConnection" this, but when I move my same code to production site, then it is not working. The same condition of checking IsSecureConnection returns me "false" even though my login page url starts with "https" on production site.
Please help me,
Many thanks,
Kusum

...

Go to the complete details ...