TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Phani Kumar
NA
162
25k
how to disable browser back button functionality
Jun 10 2020 9:37 AM
Hi Team,
When user logged from the website, it is showing the login page, but when clicked on browser back button, it is taking back to the same page from where the user got logged out, how to acheive this
I have added this peice of code in my logout page, but didn't worked
//$(document).ready(function () {
// window.history.forward(1);
// //function disableBack() { window.history.forward() }
// //window.onload = disableBack();
// //window.onpageshow = function (evt) { if (evt.persisted) disableBack() }
//});
thanks for help in advance
Regards
Phani Kumar
Reply
Answers (
5
)
Things to be considered for a large scale SAAS products
How to use the controls in Formview Edit or Insert Mode.