Back Button Disable

3 posts, 0 answers
  1. Jayakrishnan
    Jayakrishnan avatar
    1 posts
    Member since:
    Apr 2012

    Posted 12 Apr 2012 Link to this post

    Can you please inform me how can i disable back button. My problem is that when i logout and redirects to start page i can go back to home page by clicking back button.... Is there any way to overcome this?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 Apr 2012 Link to this post

    Hi Jayakrishnan,

    It is not possible to disable the back button of a browser. One suggestion is that you can add the following javascript which prevents redirecting to previous page while clicking the back button of the browser.

    <script type="text/javascript">

    Hope this helps,

  3. DevCraft R3 2016 release webinar banner
  4. Arun
    Arun avatar
    1 posts
    Member since:
    May 2015

    Posted 28 Jul 2015 in reply to Princy Link to this post

    Hi Princy,

    Can i know how your wesite(Telerik), after log out redirect to log in page, when i am click back navigation or backspace key in log in page shows same page. How?, Can you please explain clearly?



Back to Top