Follow by Email

Monday, 28 January 2013

After logout should go back in

Use this below script on the pages which you don't want to open after logout, it will disable the back option and stops to go back:

   <script type = "text/javascript" >
    function preventBack() { window.history.forward(); }
    setTimeout("preventBack()", 10);
    window.onunload = function () { null };


Rahul Rana said...

its working

Post a Comment


Design by Abhinav Ranjan Sinha