Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Esta función no elimina los **privilegios promovidos** del proceso web, tanto s

:::

Regarding remote client sessions, the function only impacts [code accessing the web server](../WebServer/preemptiveWeb.md#writing-thread-safe-web-server-code).
Regarding remote client sessions, the function only concerns the code executed in the context of a [web request sent through a Web area](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).

#### Ejemplo

Expand Down Expand Up @@ -388,7 +388,7 @@ Esta función devuelve True para el *privilegio* si se llama desde una función

:::

Regarding remote client sessions, the function only impacts [code accessing the web server](../WebServer/preemptiveWeb.md#writing-thread-safe-web-server-code).
Regarding remote client sessions, the function only concerns the code executed in the context of a [web request sent through a Web area](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).

With stored procedure sessions and standalone sessions, this function always returns True, whatever the *privilege*.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Cette fonction ne supprime pas les **privilèges promus** du process web, qu'ils

:::

En ce qui concerne les sessions de clients distants, la fonction n'a d'impact que sur [le code accédant au serveur web](../WebServer/preemptiveWeb.md#writing-thread-safe-web-server-code).
Regarding remote client sessions, the function only concerns the code executed in the context of a [web request sent through a Web area](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).

#### Exemple

Expand Down Expand Up @@ -388,7 +388,7 @@ Cette fonction renvoie True pour le *privilège* si elle est appelée depuis une

:::

En ce qui concerne les sessions de clients distants, la fonction n'a d'impact que sur [le code accédant au serveur web](../WebServer/preemptiveWeb.md#writing-thread-safe-web-server-code).
Regarding remote client sessions, the function only concerns the code executed in the context of a [web request sent through a Web area](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).

With stored procedure sessions and standalone sessions, this function always returns True, whatever the *privilege*.

Expand Down
46 changes: 23 additions & 23 deletions i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions i18n/ja/docusaurus-plugin-content-docs/current/API/SessionClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ Session オブジェクトは [`Session`](../commands/session.md) コマンド

<details><summary>履歴</summary>

| リリース | 内容 |
| ----- | -------------------------- |
| 21 | Support of remote sessions |
| 18 R6 | 追加 |
| リリース | 内容 |
| ----- | -------------- |
| 21 | リモートセッションのサポート |
| 18 R6 | 追加 |

</details>

Expand All @@ -75,7 +75,7 @@ Session オブジェクトは [`Session`](../commands/session.md) コマンド

:::note

This function does nothing and always returns **True** with stored procedure sessions and standalone sessions.
この関数は、すトアドプロシージャーセッションおよびスタンドアロンセッションでは何もせず、常に **True** を返します。

:::

Expand All @@ -89,7 +89,7 @@ This function does nothing and always returns **True** with stored procedure ses

:::

Regarding remote client sessions, the function only concerns the code executed in the context of a [web request sent through a Web area](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).
リモートクライアントセッションにおいては、この関数は[Web エリアを通して送信されたWeb リクエスト](../Desktop/clientServer.md#webエリア内のqodlyページ内でセッションを共有する) のコンテキストで実行されたコンテキストのみに関係します。

#### 例題

Expand All @@ -110,10 +110,10 @@ $isGuest:=Session.isGuest() // $isGuest は true

<details><summary>履歴</summary>

| リリース | 内容 |
| ----- | -------------------------- |
| 21 | Support of remote sessions |
| 20 R9 | 追加 |
| リリース | 内容 |
| ----- | -------------- |
| 21 | リモートセッションのサポート |
| 20 R9 | 追加 |

</details>

Expand All @@ -124,30 +124,30 @@ $isGuest:=Session.isGuest() // $isGuest は true
| 引数 | 型 | | 説明 |
| -------- | ------- | :-------------------------: | ------------------------------------ |
| lifespan | Integer | -> | セッショントークンの有効期限(秒) |
| 戻り値 | Text | <- | UUID of the token |
| 戻り値 | Text | <- | トークンの UUID |

<!-- END REF -->

#### 説明

:::note

This function is available with web user sessions and remote sessions. It returns an empty string in stored procedure and standalone sessions.
この関数はWeb ユーザーセッションとリモートセッションにおいて利用可能です。 ストアドプロシージャーとスタンドアロンセッションでは空の文字列を返します。

:::

`.createOTP()` 関数は、<!-- REF #SessionClass.createOTP().Summary -->セッションの新しいOTP(One Time Passcode、ワンタイムパスワード)を作成し、そのトークンUUID を返します。<!-- END REF --> このトークンはそれが生成されたセッションに固有のものです。

OTP トークンについてのより詳細な情報については、[こちらの章](../WebServer/sessions.md#セッショントークンotp)を参照して下さい。

*lifespan* に秒単位の値を渡すことで、カスタムのタイムアウト時間を設定することができます。 If an expired token is used to restore a session, it is ignored. By default, if the *lifespan* parameter is omitted:
*lifespan* に秒単位の値を渡すことで、カスタムのタイムアウト時間を設定することができます。 セッションを復元するために失効したトークンを使用した場合、それは無視されます。 *lifespan* 引数が省略された場合はデフォルトで:

- with web user sessions, the token is created with the same lifespan as the [`.idleTimeOut`](#idletimeout) of the session.
- with remote sessions, the token is created with a 10 seconds lifespan.
- Web ユーザーセッションの場合、トークンはセッションの[`.idleTimeOut`](#idletimeout) と同じ有効期限を持って作成されます。
- リモートセッションの場合、トークンは10秒の有効期限を持って作成されます。

For **web user sessions**, the returned token can be used in exchanges with third-party applications or websites to securely identify the session. 例えば、セッションOTP トークンは支払いアプリケーションなどにおいて使用することができます。
**Web ユーザーセッション** の場合、返されたトークンは、サードパーティアプリケーションや他のWebサイトとのやり取りで使用することでセッションを安全に特定することができます。 例えば、セッションOTP トークンは支払いアプリケーションなどにおいて使用することができます。

For **remote sessions**, the returned token can be used on 4D Server to identitfy requests coming from a [remote 4D running Qodly forms in a Web area](../Desktop/clientServer.md#remote-user-sessions).
**リモートセッション** の場合、返されたトークンを4D Server 上で使用することで[Web エリアでQodly フォームを実行しているリモート 4D](../Desktop/clientServer.md#リモートユーザーセッション) からのリクエストを識別することができます。

#### 例題

Expand Down Expand Up @@ -262,10 +262,10 @@ $expiration:=Session.expirationDate // 例: "2021-11-05T17:10:42Z"

<details><summary>履歴</summary>

| リリース | 内容 |
| ----- | --------------------------------- |
| 21 | Support of remote client sessions |
| 20 R6 | 追加 |
| リリース | 内容 |
| ----- | -------------------- |
| 21 | リモートクライアントセッションのサポート |
| 20 R6 | 追加 |

</details>

Expand All @@ -289,9 +289,9 @@ $expiration:=Session.expirationDate // 例: "2021-11-05T17:10:42Z"

:::

With remote client sessions, the privileges only concerns the code executed in the context of a [web request sent through a Web area](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).
リモートクライアントセッションでは、権限は[Web エリアを通して送信されたWeb リクエスト](../Desktop/clientServer.md#webエリア内のqodlyページ内でセッションを共有する) のコンテキストで実行されたコンテキストのみに関係します。

With stored procedure sessions and standalone sessions, this function returns a collection only containing "WebAdmin".
ストアドプロシージャーセッションとスタンドアロンセッションでは、この関数は"WebAdmin" のみを格納したコレクションを返します。

#### 例題

Expand Down Expand Up @@ -360,10 +360,10 @@ $privileges := Session.getPrivileges()

<details><summary>履歴</summary>

| リリース | 内容 |
| ----- | ----------------------------------------------------------------------- |
| 21 | Returns True for promoted privileges, Support of remote client sessions |
| 18 R6 | 追加 |
| リリース | 内容 |
| ----- | ------------------------------------- |
| 21 | 昇格した権限ならTrue を返す、リモートクライアントセッションのサポート |
| 18 R6 | 追加 |

</details>

Expand All @@ -388,9 +388,9 @@ $privileges := Session.getPrivileges()

:::

Regarding remote client sessions, the function only concerns the code executed in the context of a [web request sent through a Web area](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).
リモートクライアントセッションにおいては、この関数は[Web エリアを通して送信されたWeb リクエスト](../Desktop/clientServer.md#webエリア内のqodlyページ内でセッションを共有する) のコンテキストで実行されたコンテキストのみに関係します。

With stored procedure sessions and standalone sessions, this function always returns True, whatever the *privilege*.
ストアドプロシージャーセッションとスタンドアロンセッションの場合、この関数は*privilege* に関わらず必ずTrue を返します。

#### 例題

Expand Down Expand Up @@ -728,11 +728,11 @@ Function callback($request : 4D.IncomingMessage) : 4D.OutgoingMessage

<details><summary>履歴</summary>

| リリース | 内容 |
| ----- | --------------------------------- |
| 21 | Support of remote client sessions |
| 19 R8 | roles プロパティをサポート |
| 18 R6 | 追加 |
| リリース | 内容 |
| ----- | -------------------- |
| 21 | リモートクライアントセッションのサポート |
| 19 R8 | roles プロパティをサポート |
| 18 R6 | 追加 |

</details>

Expand All @@ -753,7 +753,7 @@ Function callback($request : 4D.IncomingMessage) : 4D.OutgoingMessage

:::note

This function does nothing and always returns **False** with stored procedure sessions and standalone sessions.
この関数は、ストアドプロシージャーセッションおよびスタンドアロンセッションでは何もせず、常に**False** を返します。

:::

Expand All @@ -763,11 +763,11 @@ This function does nothing and always returns **False** with stored procedure se
- *privileges* には、アクセス権の名称を文字列のコレクションとして渡します。
- *settings* には、以下のプロパティを持つオブジェクトを渡します:

| プロパティ | 型 | 説明 |
| ---------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| privileges | Text または Collection | <li>アクセス権名の文字列</li><li>アクセス権名のコレクション</li> |
| roles | Text または Collection | <li>ロールの文字列</li><li>ロールの文字列のコレクション</li> |
| userName | Text | User name to associate to the session (optional, web sessions only). Not available in remote client sessions (ignored). |
| プロパティ | 型 | 説明 |
| ---------- | ------------------- | --------------------------------------------------------------------------------------------------------- |
| privileges | Text または Collection | <li>アクセス権名の文字列</li><li>アクセス権名のコレクション</li> |
| roles | Text または Collection | <li>ロールの文字列</li><li>ロールの文字列のコレクション</li> |
| userName | Text | セッションに関連づけるユーザー名(任意、Web セッションのみ)。 リモートクライアントセッションでは利用できません(無視されます)。 |

:::note

Expand All @@ -781,7 +781,7 @@ This function does nothing and always returns **False** with stored procedure se

[`userName`](#username) プロパティは Session オブジェクトレベルで利用可能です (読み取り専用)。

Regarding remote client sessions, the function only concerns the code executed in the context of a [web request sent through a Web area](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).
リモートクライアントセッションにおいては、この関数は[Web エリアを通して送信されたWeb リクエスト](../Desktop/clientServer.md#webエリア内のqodlyページ内でセッションを共有する) のコンテキストで実行されたコンテキストのみに関係します。

#### 例題

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ The <!-- REF #WebServerClass.debugLog.Summary -->HTTPリクエストログファ

<!-- REF #WebServerClass.handlers.Syntax -->**.handlers** : Collection<!-- END REF -->

*内容*
*読み取り専用プロパティ*

A <!-- REF #WebServerClass.handlers.Summary -->collection of custom HTTP handler objects<!-- END REF -->. An HTTP handler object contains a listened URL pattern, a handled verb, and the code to be called. HTTP handlers can be defined through a HTTPHandlers.json file or the *settings* parameter of the [`.start()`](#start) function. For more information, please refer to the [HTTP Request handler](../WebServer/http-request-handler.md) page.
<!-- REF #WebServerClass.handlers.Summary -->カスタムHTTP ハンドラオブジェクトのコレクション<!-- END REF -->HTTP ハンドラオブジェクトには聞いているURL パターン、管理される動詞(メソッド)、そして呼び出されるべきコードが格納されています。 HTTP ハンドラはHTTPHandlers.json ファイルまたは[`.start()`](#start) 関数の*settings* 引数で定義することができます。 詳細については[HTTP リクエストハンドラ](../WebServer/http-request-handler.md) のページを参照してください。

<!-- END REF -->

Expand Down Expand Up @@ -340,7 +340,7 @@ A <!-- REF #WebServerClass.handlers.Summary -->collection of custom HTTP handler

<!-- REF #WebServerClass.isRunning.Syntax -->**.isRunning** : Boolean<!-- END REF -->

*内容*
*読み取り専用プロパティ*

<!-- REF #WebServerClass.isRunning.Summary -->Webサーバーで旧式セッションが有効されている場合に true、それ以外は false<!-- END REF -->。

Expand Down Expand Up @@ -439,7 +439,7 @@ A <!-- REF #WebServerClass.handlers.Summary -->collection of custom HTTP handler

<!-- REF #WebServerClass.name.Syntax -->**.name** : Text<!-- END REF -->

*内容*
*読み取り専用プロパティ*

<!-- REF #WebServerClass.name.Summary -->Webサーバーアプリケーションの名称<!-- END REF -->。

Expand All @@ -451,7 +451,7 @@ A <!-- REF #WebServerClass.handlers.Summary -->collection of custom HTTP handler

<!-- REF #WebServerClass.openSSLVersion.Syntax -->**.openSSLVersion** : Text<!-- END REF -->

*内容*
*読み取り専用プロパティ*

<!-- REF #WebServerClass.openSSLVersion.Summary -->使用されている OpenSSLライブラリのバージョン<!-- END REF -->。

Expand All @@ -463,7 +463,7 @@ A <!-- REF #WebServerClass.handlers.Summary -->collection of custom HTTP handler

<!-- REF #WebServerClass.perfectForwardSecrecy.Syntax -->**.perfectForwardSecrecy** : Boolean<!-- END REF -->

*内容*
*読み取り専用プロパティ*

<!-- REF #WebServerClass.perfectForwardSecrecy.Summary -->サーバーの PFS利用可否状況<!-- END REF -->。

Expand Down Expand Up @@ -493,9 +493,9 @@ A <!-- REF #WebServerClass.handlers.Summary -->collection of custom HTTP handler

<!-- REF #WebServerClass.rules.Syntax -->**.rules** : Collection<!-- END REF -->

*内容*
*読み取り専用プロパティ*

A <!-- REF #WebServerClass.rules.Summary -->collection of rule objects currently handled to customize HTTP headers<!-- END REF -->. A rule object contains a "regexPattern" property, as well as an action name with a value. HTTP rules can be defined through a HTTPRules.json file or the *settings* parameter of the [`.start()`](#start) function. For more information, please refer to the [HTTP Rules](../WebServer/http-rules.md) page.
<!-- REF #WebServerClass.rules.Summary -->HTTP ヘッダーをカスタマイズするために現在管理されているルールオブジェクトのコレクション<!-- END REF -->。 ルールオブジェクトには"regexPattern" プロパティに加え、アクション名と値が格納されています。 HTTP ルールはHTTPRules.json ファイルまたは[`.start()`](#start) 関数の*settings* 引数で定義することができます。 詳細については[HTTP ルール](../WebServer/http-rules.md) のページを参照してください。

<!-- END REF -->

Expand Down Expand Up @@ -531,7 +531,7 @@ A <!-- REF #WebServerClass.rules.Summary -->collection of rule objects currently

<!-- REF #WebServerClass.sessionCookieName.Summary -->セッションID の保存に使用されるセッションcookie の名称<!-- END REF -->。

*内容*
*読み取り専用プロパティ*

<!-- END REF -->

Expand Down
Loading
Loading