intersystems-cacheobjectscript

get current url with "csp intersystem cache objescript"


as I can get the current url with csp cache language ? without using mv.

I also want to get the current domain ie if I have this url www.midominio.hn / assets / hola.csp

get www.midominio.hn


Solution

  • I've solved it in the following way: %request.GetCgiEnv("SERVER_NAME")