From: Chris W. <kit...@gm...> - 2023-05-24 10:31:48
|
Here is one way to get it: tokenize(request:get-effective-uri(),"/")[last()] By way of context, when executing a response:redirect-to() , the URI needs the script name even if the redirect is to the current script. Scripts are more maintainable when that name doesn't have to be hard-coded. On Fri, May 19, 2023 at 8:07 AM Chris Wallace <kit...@gm...> wrote: > Help - I've forgotten how to get the name of the executing script. > > Chris > |