How to prevent from navigating to ck buttonnext page when user reaches login page using back button

How to prevent from navigating to ck buttonnext page when user reaches 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 ck buttonnext page when user reaches login page using back button
How to prevent from navigating to ck buttonnext page when user reaches login page using back button  Hi sir, I have created 2 pages, 1) Lo gin Page... goback to user login page using back button and agin click browser forward button
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... login page using back button and agin click browser forward button,the 2nd page
Advertisements
how to prevent from navigating Back after logout or session expire in jsp
how to prevent from navigating Back after logout or session expire in jsp ... go to back pages from the browsers back button which i dont want in my app. Plz... it either in every page of in login page or at logout page. Thank you Sir  
click on back button go to the login page
click on back button go to the login page  now when i click on back button the page show that page on where i came from and it shows the session expired but i want when i click a back buttob then it should show a login page
code for user registration page and login page of emails using jsp
code for user registration page and login page of emails using jsp  hiiiiiii please send me the code for user registration page and login page of email using jsp and servlets and also code for database connectivity to oracle
forwarding request to a jsp when user clicks on back button in ie
forwarding request to a jsp when user clicks on back button in ie  Hi... of the application, We should not allow the customer to go back to the previous page. Can we forward request to a jsp page whenever user clicks on back button
login for different user in the same page
login for different user in the same page  how can i do the login for different user in the same page throug jsp
How to set the border in header and footer from login page using swings/awt
How to set the border in header and footer from login page using swings/awt  Hi, How to set the border in header and footer from login page using swings/awt
JSP Back Button
button is created and takes the user back to the page from where the user came... to the page they just came from. A Back button is created by INPUT type="...;       Jsp Back Button enables the user back
verfication of user login and then redirecting it to user defined page
() to redirect to a user defined page..but..wen i press the submit button... page.. after i press the submit button..in the login page, i am getting...verfication of user login and then redirecting it to user defined page 
create login page using data from text file
create login page using data from text file  I want to create login page using data store in textfile(data submit from regiter page to textfile) using jsp and servlet. Thanks
How to view database for user when they login in netbeans and mysql?
How to view database for user when they login in netbeans and mysql?  I create a web page where when user login they have to fill in a form, after they click the button submit, the next page they going to see is the information
how to prevent user selecting past date from calender
how to prevent user selecting past date from calender  how to prevent user selecting past date from calender ex: today's date is 21st march user should not select 20th march or below
How to prevent the page refresh while submitting the form??
How to prevent the page refresh while submitting the form??  Hi... to the select of Dropdown1. Im hitting a db for this every time.Hence the page loads every time when changing Dropdown1. Is there any way in JAVA SCRIPT to prevent
Save the content in my wysiwyg editor into specified location of user when clicked on save button in my web page
Save the content in my wysiwyg editor into specified location of user when clicked on save button in my web page  I am using wysiwyg editor... by the user and also can be saved to his location in word document format. Can
how to move curosr from one text field to another automatically when the first textfield reaches its maximum length
how to move curosr from one text field to another automatically when the first textfield reaches its maximum length  how to move curosr from one text field to another automatically when the first textfield reaches its maximum
login page with mysql using jsp
login page with mysql using jsp  pls i need a sample of login page to check username and password in mysql database. thanks
extract data fom table when a button is clicked in front end page using mysql5.0 and tomcat6.0
extract data fom table when a button is clicked in front end page using mysql5.0 and tomcat6.0   sir, i want to extract data from table which is stored in mysql5.0 databse, when a button is clicked in front end page using
[JSP] How to pass back ID to previous page.
[JSP] How to pass back ID to previous page.  Hi experts, May I ask something. How to link a page to previous page which the content in previous page is selected from database where IDPRODUCT=". I don't know how to pass back
Login Box appears when a button on the webpage is clicked
Login Box appears when a button on the webpage is clicked  How to create a Login Box on a web page that appears only when a button that is already present on the page is clicked
Login Box appears when a button on the webpage is clicked
Login Box appears when a button on the webpage is clicked  How to create a Login Box on a web page that appears only when a button that is already present on the page is clicked
Login Box appears when a button on the webpage is clicked
Login Box appears when a button on the webpage is clicked  How to create a Login Box on a web page that appears only when a button that is already present on the page is clicked
how to disable submit button after login in jsp
how to disable submit button after login in jsp  Hi, I have an application and when user logs in welcome page is displayed. When user clicks on the back button in browser it stars displaying login page. How to prevent this? how
How to disable back button in browser using javascript
; onunload=""> Note: If you want to stop user navigating back from... of the time the back button is disabled because a user can hit back...There are times while developing a website, we need to disable back button
change database values when click next button on jsp page
change database values when click next button on jsp page  How to retrive database values rondomly and display jsp page ,when user click next and previous bottons change the values on jsp page
Submit comments in database when user clicks on submit button
to show how to submit comments from a jsp page and insert it to the MySql database when user clicks the submit button of the page. Create a database: First... Submit comments in database when user clicks on submit button
Back button
Back button  how to redirect to a home page when a back button is pressed in jsp instead of displaying the previous page
Login page
Login page  how to create Login page in java
program code for login page in struts by using eclipse
program code for login page in struts by using eclipse  I want program code for login page in struts by using eclipse
login page
login page  How to login as different user in php
How to create simple HTML Login Page?
with JavaScript. You will  learn How to create a simple HTML login page... How to make Spring web Login form? HTML Login Page Code...Simple HTML Login Page- Create a Simple HTML Login page and validate
How to create simple HTML Login Page?
with JavaScript. You will  learn How to create a simple HTML login page...Simple HTML Login Page- Create a Simple HTML Login page and validate... of making a simple login form and validating it using JavaScript. JavaScript
UINavigationController Navigating to back
UINavigationController Navigating to back  How to navigate to previous screen or simply go back or simulate the back button programmatically in iOS? Thanks   Hi, You can use the following code
login page
login page  code for login page
how to pass input from radio button to jsp page
how to pass input from radio button to jsp page  hi.. the code below here there are list of radio buttons here in jsp page when the values are matched from database. I want to pass the selected value in Struts Action FormBean
how to pass input from radio button to jsp page
how to pass input from radio button to jsp page  hi.. the code below here there are list of radio buttons here in jsp page when the values are matched from database. I want to pass the selected value in Struts Action FormBean
calling a web page when pressing on a Button - JSP-Interview Questions
and Update. When the user clicks on a button View, I call a web page When the user clicks on a Button Print, I call another web page, When the user clicks on Update...calling a web page when pressing on a Button  Please perhaps I do
How to set the pdfptable as pdf page header when generating the pdf from jsp page. - JSP-Servlet
How to set the pdfptable as pdf page header when generating the pdf from jsp page.  how to set the pdfptable column headers as a header of the documet.i need to display the column headers for every pdf page if pdf documt is 20
login page using jsp servlrt with mysql database?
login page using jsp servlrt with mysql database?  Description... table login. After successfully login user1 see only index page,if user2 login then he see only visiter page and so on. please gine me any suggession. Thanks
how to pass input from radio button to jsp page
how to pass input from radio button to jsp page  hi.. the code below here there are list of radio buttons here in jsp page when the values are matched from database. I want to pass the selected value in Struts Action FormBean
disable back button - Java Beginners
in my application(The scenario is like when im in my register user page and try to login using the login pop up window, i get logged in and user name is also displayed but..when i click back button i go back to the register page which should
how to create a login page and registration page?
how to create a login page and registration page?  hellow, pls tell me the code for how we can create a login page and registration page and how we can store the info in database.only in advance java as jsp
Jdbc Login Page Validation using Combobox
Jdbc Login Page Validation using Combobox  I got Login By this code i want to login by validating with combobox....The link which you send its without combobox.i m unable to get login by verifying with combo box..Ex banglore
how to open a web page using proxy in java and handling button event in that web page..?
how to open a web page using proxy in java and handling button event... and opens a web page i.e for example and then clicks a "yes" button in that page... from an ip address it(web page) gives a note that come after 22hours to vote again
login page
login page  pls say how to create a login page in jsp and mysql using netbaens   Hi Friend, Please visit the following links:ADS_TO_REPLACE_1 http://roseindia.net/jsf/netbeans/index.shtml http://roseindia.net/jsp
HTML Login Page Code
. Login page is used in most of the dynamic website to validate user based... is used to accept password from user. ADS_TO_REPLACE_1 The submit button is used... user input with JavaScript. View demo of HTML Login page. Here is the screen
how can we prevent back option after log out.
how can we prevent back option after log out.  how can we prevent back option after log out
login page
login page  hi i'm trying to create login page using jsp. i get... <h1>Login Example!</h1> USER NAME <input name="uname..."); stmt=con.createStatement(); String query="select * from login
Login Page
Login Page  Can anyone tell me the steps to create a login page in myeclipse 7.0 and validating it with login database in db2 9.7 ??? Please tell me
Jdbc Login Page Validation using Combobox
Jdbc Login Page Validation using Combobox  I am beginer to java i am... help me to validate username and password by using combo box..... Please Help Me.... Thanks alot Index.jsp <%@ page language="java" contentType="text

Ads