Hi all,
I am trying to implement a scenario were user clicks on logout button then the browser window should automatically close.
Like I mentioned above, that is because of the limitations of the code. (For security reasons, so I don't expect there to be any other solutions.)
Hi Rajeshree,I don't think that is possible.You have the javascript function:
window.close()
But that can only be used if that window/tab is the first one in that tab's / window's historyhttps://developer.mozilla.org/en-US/docs/Web/API/Window/close
Hi Eric,
Thank you for the information.
Hello Rajeshree,
Adding to the Eric answer,
You can implement above script like this,
Hope it helps you.
Regards,
Ajit Kurane.
Hi Ajit,
Thank you for your suggestion, I have used the same approach but only the window that is opening by default is closing but when I am going to any other Screen it is not working.