Hi Alexander<br>&nbsp;&nbsp;&nbsp; I tried your method ,and it works! right, I want to redirect another page after user logged out, but also I want Ovirt-engine could execute Logout user command to clear session.<br>&nbsp;&nbsp;&nbsp; I tried to insert Window.Location.replrace in LoginModel.java , ApplicationPlaceManager.java etc.&nbsp; In any version firefox of window7 OS,&nbsp; even if another page could be redirected correctly ,ovirt-engine would not execute Logout user command ,so user's session would&nbsp; not be clear, and I can see previous&nbsp; page. <br>&nbsp; &nbsp; It's strange that this stuff would not happen in other browsers(chrome/IE), even the firefox of Linux.&nbsp; I try to replace in callback() as your advice, now, for every browsers, ovirt-engine can execute logout command, it works! Thank you so much for your patience :)<br><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;原始邮件&nbsp;------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Alexander Wels"&lt;awels@redhat.com&gt;; </div><div><b>发送时间:</b> 2015年11月12日(星期四) 晚上10:37</div><div><b>收件人:</b> "devel"&lt;devel@ovirt.org&gt;; </div><div><b >抄送:</b> "温蓓"&lt;wenbei_43409338@qq.com&gt;; </div><div><b>主题:</b> Re: [ovirt-devel] In windows OS &amp; firefox brower, Window.Location.replace(url) would stop System to execute Command, and would not catch any error info.But other OS like firefox in linux would not happen like that</div></div><div><br></div>On Thursday, November 12, 2015 01:41:38 PM 温蓓 wrote:<br>&gt; HiI want to redirct the page when ovirt admin logout, so I add<br>&gt; :Window.Location.replace("/test.html") in ApplicationPlaceManager.java as<br>&gt; below:&nbsp; <br>&gt; @Override<br>&gt; public void revealDefaultPlace() {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&gt; PlaceRequest pr = getDefaultPlace();<br>&gt; if (pr == null) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&gt; //Window.Location.replace("/test.html"); //$NON-NLS-1$ <br>&gt; } else {&nbsp;&nbsp;&nbsp; <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; revealPlace(pr); <br>&gt; }<br>&gt; } or in<br>&gt; LoginModel.java\BaseApplicationInit.java etc. It can achieve to redirect by<br>&gt; chrome,IE and firefox in Linux, and would execute LogoutUserCommand to<br>&gt; clean user session,Then at firefox in Windows no matter which version, it<br>&gt; could redirect but would not execute LogoutUserCommand, so I can log into<br>&gt; System by previous URL without password.&nbsp; How can I redirect URL when<br>&gt; logout?Is there any config files for this? I could not find it, thanks a<br>&gt; lot :) Version-Release number of selected component (if applicable): 3.4.5<br>&gt; Steps to Reproduce: 1.update code:ApplicationPlaceManager.java&nbsp; public void<br>&gt; revealDefaultPlace() {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PlaceRequest pr = getDefaultPlace();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&gt; if (pr == null) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Window.Location.replace("/test.html");<br>&gt; //$NON-NLS-1$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; revealPlace(pr);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt; 2.login system and logout 3.input previous url like<br>&gt; :xxxxxx/ovirt-engine/webadmin/?locale=zh_CN#vms and can redirect. Actual<br>&gt; results: redirect into vm page. Expected results: redirect into login page.<br><br>Hi,<br><br>I am trying to decipher your message (it got garbled for some reason). And I <br>am trying to understand what you are trying to do. If I understand correctly <br>you want to redirect to some other page after you have logged out of the web <br>admin.<br><br>To get back to the specifics of your question. The DefaultPlace is the #XXX in <br>the URL you are sent to (note its not an actual redirect, since there is no <br>round trip to the server), if you don't specify a particular place. When you <br>do #vms the whole DefaultPlace mechanism is not in play since you specified a <br>particular place.<br><br>What does happen is that the framework asks the LoggedInGatekeeper if the user <br>is logged in (in the canReveal() method). If the user is logged in, it will <br>proceed to the normal place requested (in your example #vms). If the user is <br>not logged in, it will switch places to #login and display the login screen.<br><br>Now you say you are using 3.4.5 which is quite old, and its been some time <br>since I worked with it. If I understand correctly what you are trying to do, <br>don't mess around with the DefaultPlace. In BaseApplicationInit there should <br>be a 'onLogout' method. In there should be a callback that happens AFTER the <br>user is logged out from the server. Right now it says something <br>Window.Location.reload() to reload the page after the logout. You should be <br>able to put your Window.Location.replace in there (replace the reload with the <br>replace). Which I think will do what you want.<br><br>If it doesn't do what you want, I am going to need some more information on <br>what it is that you are trying to do.<br><br>Alexander