Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JavaScriptQuestions How to prevent from navigating to a page after reaching Login page using back button?

Have Programming Question? Ask it here!
 
 
 


Yasser
How to prevent from navigating to a page after reaching Login page using back button?
0 Answer(s)      a year and 5 months ago
Posted in : JavaScript Questions


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


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com