I have set up a site to use SSL on port 8443 instead of port 443. The webserver handles this appropriately, but when I use the function get request info("*host port"), it returns 443, not 8443.

On Web Connection is not trying to be intelligent about alternate SSL ports, but you can get the actual port easily:

$host := slice string(request info{"host"}; ":"; $port)

After executing this code, if the port is not 80, $port will contain the port number (as a string).

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to