Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Essentials.SSL Namespace / SSLHelper Class / RequestSecurePage Method
The Http Context in use
The encrypted uri to use when switching context, if different from the current uri.
Tells whether to use permanent redirect or not
In This Topic
    RequestSecurePage Method
    In This Topic
    Requests the current page over a secure connection, if it is not already.
    Syntax
    public static bool RequestSecurePage( 
       HttpContext context,
       string encryptedUri,
       bool usePermanentRedirect
    )

    Parameters

    context
    The Http Context in use
    encryptedUri
    The encrypted uri to use when switching context, if different from the current uri.
    usePermanentRedirect
    Tells whether to use permanent redirect or not

    Return Value

    true if secure page was requested, false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also