Author: mks307 | Posted on: 11/21/2008 8:33:21 AM | Views : 255

I'm using following method to implement SSL

if (!Request.IsSecureConnection)
{
string url = Request.ServerVariables["url"];
SslTools.Redirect(url, RedirectOptions.AbsoluteHttps);
}

The current code snippet is placed on Page Load event. When this code executes, it returns me to the Login Page and doesn't stay on the current page with 'https' prefix. SSL is installed on the hosting. Please anyone guide me regarding this. Waiting for a quick response. Thanks ...

Go to the complete details ...