How to prevent from navigating to a page after reaching Login page using back button?

How to prevent from navigating to a page after reaching Login page using back button?

Hi sir,

I have created 2 pages, 1) Lo gin Page 2)Page with link to open pdf files

When i lo-gin,it takes me to 2nd page where there are buttons that opens pdf files in new window.The problem is when i goback to user login page using back button and agin click browser forward button,the 2nd page session gets expired but on next click on forward button,the pdf document opens..But i dont want it to happen.Instead,it should again ask for login.

I am using html,php,javascript..

Please provide me a better code to attain desired soulution

Thank you

View Answers









Related Tutorials/Questions & Answers:
How to prevent from navigating to a page after reaching Login page using back button?
How to prevent from navigating to ck buttonnext page when user reaches login page using back button
Advertisements
how to prevent from navigating Back after logout or session expire in jsp
how can we prevent back option after log out.
click on back button go to the login page
How to set the border in header and footer from login page using swings/awt
How to use filter to redirect to login page after session timeout.
How to use filter to redirect to login page after session timeout.
after logout the page is going back - Java Beginners
create login page using data from text file
How to use filter to redirect to login page after session timeout
login page with mysql using jsp
How to prevent the page refresh while submitting the form??
Login page
program code for login page in struts by using eclipse
login page using jsp servlrt with mysql database?
login page
how to create a login page and registration page?
Jdbc Login Page Validation using Combobox
login page
code for user registration page and login page of emails using jsp
how to retreive data from database of a particular user after login
[JSP] How to pass back ID to previous page.
Login Page
Jdbc Login Page Validation using Combobox
Jdbc Login Page Validation using Combobox
how to retreive data from database of a particular user after login
login page
UINavigationController Navigating to back
login page
how to disable submit button after login in jsp
how to load a table of data from oracle, to a jsp page using hashmap.
how to show effect (visual) on jsp page using value from database
LOGIN PAGE
login page in php
What is the use of Login Page?
coding for login page
using ajax and jsp (struts) to login and remain on same page.
jsp login page
Creating Login Page In JSF using NetBeans
login page error
login page code in asp.net
login page with image
SSL for login page
login page - Java Beginners
how to retrieve text and images from mysql database and show on html page using jsp servlet
JSP LOGIN Page
jsp login page
How to redirect from a HTML page?
How to create simple HTML Login Page?

Ads