logo

New Response

« Return to the main article

You are replying to:

  1. Assuming that the CGI field HTTPS has been added to the form I believe this may work for detecting HTTPS.

    sDBPath := @ReplaceSubstring( @Subset ( @DbName; -1 ); " ":"\\"; "+":"/"); sServerPort := @If( Server_Port != "80"; ":" + Server_Port; "" ); sHTTP := "http"+ @If( HTTPS != "OFF"; "s";"") + "://"; "<base href=\"" + sHTTP + Server_Name + sServerPort + "/" + DBPath + "/\" />";

    Just a guess though.

    regards john z marshall

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: