對不起,廣泛的話題。基本上,WSC應該具有開箱即用的會話超時處理功能,方法是將用戶轉發到ReLogonFormView,用戶可以假定通過Struts配置他們選擇的任何jsp。我們使用自定義註銷命令,它似乎正在影響顯示的視圖。我只是在尋找關於WSC(v6)如何處理會話超時(它如何確定會話超時)以及什麼命令(s)的常規知識。 )當/如果/確定會話已過期時,它默認運行。WebSphere Commerce - ReLogonFormView/Session過期如何工作?
3
A
回答
5
這是我對這個問題的現有知識......
會話超時是所有Web模塊的全局值,並且可以在WC-server.xml中被發現和被設置爲30分鐘開箱即用的。
當timout發生時,開箱即用的LogoffCmd通常會被調用,這將建立必要的網址導航到ReLogonFormView URL,同時保持會話超時發生在URL的保持。 如果ReLogonFormView包含用戶標識/密碼字段以允許用戶再次登錄,那麼用戶將被重定向回它們原來的頁面。
更多信息可以在IBM InfoCenter的「LoginTimeout」下找到。
如果擴展OOTB LogonCmdImpl,則不應嘗試設置轉發URL,否則會干擾OOTB導航。
我認爲你應該執行你的自定義註銷功能,然後調用super.performExecute()來允許OOTB導航邏輯接管。 注意:您可以通過調用getReferrerURL()來獲取最初的URL,並且應該從getURL()返回ReLogonFormView。
相關問題
- 1. IBM WebSphere Commerce Promotions
- 2. Websphere Commerce-TypedProperty
- 3. IBM WebSphere Commerce 8
- 4. Websphere commerce 7
- 5. CMN0420E Websphere Commerce錯誤
- 6. WebSphere Commerce IDResGen查詢
- 7. WebSphere Commerce JAX-WS AxisFault
- 8. 如何在Websphere Commerce 7中使用Java內部的WebSphere Commerce構建Seo Urls
- 9. 登錄超時在WebSphere Commerce
- 10. WebSphere Commerce OpenLaszlo API擴展類
- 11. Websphere Commerce運費的定製
- 12. 搜索規則未在IBM的WebSphere Commerce工作
- 13. 會話在IBM Websphere Commerce中重置
- 14. Websphere Commerce源代碼管理設置
- 15. Solr使用Websphere Commerce自定義
- 16. Virto Commerce:前端不工作
- 17. Websphere Commerce(WCS7)禮品卡查詢
- 18. 更改websphere commerce中cookie的有效期限
- 19. IBM Sterling Configurator與Websphere commerce的集成
- 20. 配置WebSphere Commerce Developer 6.0以使用WebSphere Application Server 6.1
- 21. Websphere Commerce 7自定義服務調用
- 22. IBM Websphere commerce中的Java Bean的類型
- 23. Websphere Commerce Aurora商店 - 如何查找數據結構?
- 24. Websphere Commerce + SolR:解決相同的SolR查詢 - 如何調試?
- 25. 如何禁用IBM Websphere Commerce Developer功能包4.0.0.0
- 26. 通過jenkins工作部署websphere
- 27. WebSphere Commerce 7管理中心的wcfGridChildObjectCheckboxViewer編譯錯誤
- 28. 何時在Websphere Commerce中使用訪問bean或數據bean?
- 29. 您使用Websphere Commerce Developer的哪個開發數據庫?
- 30. Mac Eclipse而不是Windows IBM WebSphere Commerce Developer - 可以完成嗎?
而改變30分鐘其實是在: 。我在某個地方讀到了它是ExpiryManagement部分中的InactivityTimeout + Threshold的組合,但它不是我的情況。 –