Sun Java System Portal Server Secure Remote Access 7.2 管理指南

Procedure管理外部伺服器 Cookie 儲存

當啟用 [儲存外部伺服器 Cookie] 選項時,閘道會儲存與管理任何經由閘道存取的協力廠商應用程式或伺服器的 cookie。雖然應用程式或伺服器無法服務非 cookie 裝置或根據 cookie 進行狀態管理,閘道還是會透明遮罩應用程式或伺服器,使其無法了解閘道正在服務非 cookie 裝置。

有關非 Cookie 裝置與用戶端偵測的資訊,請參閱「Access Manager 自訂和 API 指南。」

    鍵入下列指令,並按下 Enter 鍵以管理外部伺服器 Cookie 的儲存。

    • 啟用:

      PS_INSTALL_DIR/bin/psadmin set-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a CookieManagement true

    • 停用:

      PS_INSTALL_DIR/bin/psadmin set-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a CookieManagement false

    • 取得屬性值:

      PS_INSTALL_DIR /bin/psadmin get-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a CookieManagement

亦請參閱

「Sun Java System Portal Server 7.2 Command-Line Reference」中的「psadmin set-attribute」「Sun Java System Portal Server 7.2 Command-Line Reference」中的「psadmin get-attribute」