Tomcat Window close on Logoff

Hi All, my first post here, apologies if it’s in the wrong place.

My question is hopefully simple. When a User logs off, rather than re-direct the browser to a specified page, I’d like the window to close. Obviously the User can just close the window, but we only have 5 licences and so we have taught them to log off.

I can see the param setting to re-direct, if I put in a Java command to close this window, will that work? Please note, I’m neither a Java developer, and only recently working with BO. Thanks in advance, Marshall.


Marsha11 (BOB member since 2008-11-25)

Hi Marsha,

Have you found the answer to this? I would also like the browser window close when they log off.

Thanks!
mike


mikefraser :us: (BOB member since 2008-05-12)

I’m working on the same.
What we found is:
few " pages " like LogonFrom.do…
logoff.do, pages which doesn’t exist, those URLs are defined
at struts file…

We are trying to redirect the logoff…
we are still working on it… :hb:


DanteDallMty :us: (BOB member since 2008-07-28)

  1. For the XI 3.1 Java deployment, create a file <yourfile.htm> in the folder …/Tomcat/Webapps/InfoViewApp with code to close itself like below.
Some Title
  1. In the file …/Tomcat/Webapps/InfoViewApp/WEB-INF/web.xml, find url.exit and add <yourfile.htm> as shown below on the ‘param-value’ line.

    url.exit
    http://servername:portnumber/InfoViewApp/yourfile.htm

sprakash (BOB member since 2006-05-24)