Hello,
I have implemented a solution to logoff an user from portal after a idle timeout interval of 60mins.
The solution is similar to the solution provided in the below link
The Logoff method in the above sinppet is javascript standard function which works well with Portal 7.0 but the same code does not work in Portal 7.3.
Below is the code that is written in the custom javascipt file
function logoffAcn(){ \n" +
" try{ \n"+
" var val='logoff'; \n" +
" logoff(); \n"+
" val= window.showModalDialog('/irj/servlet/prt/portal/prtroot/com.acn.desktop.idletimeout.SessionExpired', '', 'dialogHeight: 180px; dialogWidth: 400px; edge: Raised; center: Yes; help: No; resizable: No; status: No'); \n" +
" } catch(e) { \n"+
" alert('inside exception' + e.message) \n" +
" } \n" +
"} \n" +
When the funtion logoffAcn is called, logoff() throws and exception as below
"The value of the property "logoff"is null or undefined, not a Function object.
But i am very sure that we dont have to define this method anywhere in the code.
Is there any library file that has to be added for this method?
Help will be appreciated.
Thanks
Jeet