From a525180e94db063b779ea8dda9e928264db53399 Mon Sep 17 00:00:00 2001 From: CF Mitrah Date: Fri, 28 Feb 2025 14:57:28 +0530 Subject: [PATCH 1/3] Added the sessionExists() and GetSystemPropOrEnvVar() functions. --- .../getsystemproporenvvar/_arguments/name.md | 1 + .../01.functions/getsystemproporenvvar/_examples.md | 8 ++++++++ .../getsystemproporenvvar/_returnTypeDesc.md | 0 .../getsystemproporenvvar/_usageNotes.md | 0 .../01.functions/getsystemproporenvvar/function.md | 9 +++++++++ .../01.functions/sessionexists/_examples.md | 9 +++++++++ .../01.functions/sessionexists/_returnTypeDesc.md | 0 .../01.functions/sessionexists/_usageNotes.md | 0 .../01.functions/sessionexists/function.md | 13 +++++++++++++ 9 files changed, 40 insertions(+) create mode 100644 docs/03.reference/01.functions/getsystemproporenvvar/_arguments/name.md create mode 100644 docs/03.reference/01.functions/getsystemproporenvvar/_examples.md create mode 100644 docs/03.reference/01.functions/getsystemproporenvvar/_returnTypeDesc.md create mode 100644 docs/03.reference/01.functions/getsystemproporenvvar/_usageNotes.md create mode 100644 docs/03.reference/01.functions/getsystemproporenvvar/function.md create mode 100644 docs/03.reference/01.functions/sessionexists/_examples.md create mode 100644 docs/03.reference/01.functions/sessionexists/_returnTypeDesc.md create mode 100644 docs/03.reference/01.functions/sessionexists/_usageNotes.md create mode 100644 docs/03.reference/01.functions/sessionexists/function.md diff --git a/docs/03.reference/01.functions/getsystemproporenvvar/_arguments/name.md b/docs/03.reference/01.functions/getsystemproporenvvar/_arguments/name.md new file mode 100644 index 000000000..df16fcec2 --- /dev/null +++ b/docs/03.reference/01.functions/getsystemproporenvvar/_arguments/name.md @@ -0,0 +1 @@ +Optional, when set, the value of the property as configured is returned. \ No newline at end of file diff --git a/docs/03.reference/01.functions/getsystemproporenvvar/_examples.md b/docs/03.reference/01.functions/getsystemproporenvvar/_examples.md new file mode 100644 index 000000000..9f8a3a524 --- /dev/null +++ b/docs/03.reference/01.functions/getsystemproporenvvar/_examples.md @@ -0,0 +1,8 @@ +```lucee+trycf +// List all system properties + + +// Return the configured value; otherwise, return empty + + +``` \ No newline at end of file diff --git a/docs/03.reference/01.functions/getsystemproporenvvar/_returnTypeDesc.md b/docs/03.reference/01.functions/getsystemproporenvvar/_returnTypeDesc.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/getsystemproporenvvar/_usageNotes.md b/docs/03.reference/01.functions/getsystemproporenvvar/_usageNotes.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/getsystemproporenvvar/function.md b/docs/03.reference/01.functions/getsystemproporenvvar/function.md new file mode 100644 index 000000000..3e37a4c2f --- /dev/null +++ b/docs/03.reference/01.functions/getsystemproporenvvar/function.md @@ -0,0 +1,9 @@ +--- +title: GetSystemPropOrEnvVar +id: function-getsystemproporenvvar +related: +categories: + - server +--- + +Return the list of supported system properties or env vars Lucee supports. \ No newline at end of file diff --git a/docs/03.reference/01.functions/sessionexists/_examples.md b/docs/03.reference/01.functions/sessionexists/_examples.md new file mode 100644 index 000000000..d898dc71b --- /dev/null +++ b/docs/03.reference/01.functions/sessionexists/_examples.md @@ -0,0 +1,9 @@ +```lucee+trycf + + + + + + + +``` \ No newline at end of file diff --git a/docs/03.reference/01.functions/sessionexists/_returnTypeDesc.md b/docs/03.reference/01.functions/sessionexists/_returnTypeDesc.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/sessionexists/_usageNotes.md b/docs/03.reference/01.functions/sessionexists/_usageNotes.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/sessionexists/function.md b/docs/03.reference/01.functions/sessionexists/function.md new file mode 100644 index 000000000..5b1d37ed9 --- /dev/null +++ b/docs/03.reference/01.functions/sessionexists/function.md @@ -0,0 +1,13 @@ +--- +title: SessionExists +id: function-sessionexists +related: +- tag-application +- function-sessioninvalidate +- function-sessionrotate +- function-sessionstarttime +categories: +- session +--- + +Returns a boolean indicating if a session has been already created / exists. \ No newline at end of file From 3c1e76b57316717f4e3462e4d65fcfe8de43d22a Mon Sep 17 00:00:00 2001 From: CF Mitrah Date: Fri, 28 Feb 2025 15:29:08 +0530 Subject: [PATCH 2/3] fixed Markdown Lint issue. --- .../05.installation-linux/01.system-requirements/page.md | 1 + docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/04.guides/02.installing-lucee/05.installation-linux/01.system-requirements/page.md b/docs/04.guides/02.installing-lucee/05.installation-linux/01.system-requirements/page.md index 45bbce9e9..ed682469b 100644 --- a/docs/04.guides/02.installing-lucee/05.installation-linux/01.system-requirements/page.md +++ b/docs/04.guides/02.installing-lucee/05.installation-linux/01.system-requirements/page.md @@ -48,4 +48,5 @@ It's important to realize that the memory requirements stated here are for Lucee * Requires manual configuration of NGINX ### Tomcat Support ### + * Tomcat 9.X diff --git a/docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md b/docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md index 178dac006..0f578ad22 100644 --- a/docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md +++ b/docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md @@ -13,6 +13,7 @@ id: tips-compilecode ## CommandBox ## + You can also leverage CommandBox along with [cfml-compiler](https://www.forgebox.io/view/cfml-compiler/version/1.0.6) ``` From 5af433a005a245d8e34a4117ab70863f21bd066e Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Fri, 28 Feb 2025 15:46:55 +0530 Subject: [PATCH 3/3] Update page.md --- docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md b/docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md index 0f578ad22..e256aa7db 100644 --- a/docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md +++ b/docs/04.guides/13.Various/30.TIPS/01.TIPS-compile-code/page.md @@ -11,7 +11,6 @@ id: tips-compilecode Return to [[faq-s]] or [[tips-and-tricks]] - ## CommandBox ## You can also leverage CommandBox along with [cfml-compiler](https://www.forgebox.io/view/cfml-compiler/version/1.0.6) @@ -19,4 +18,3 @@ You can also leverage CommandBox along with [cfml-compiler](https://www.forgebox ``` box cfcompile sourcePath=./src destPath=./compiled cfengine=lucee@6 ``` -