suma237 Posted June 22, 2007 Share Posted June 22, 2007 Help needed to prevent others from from accessing the secured page by "back button" once i've successfuly logged out my session. I need to set the page to ask the user to login again with the correct password when the user click the back button to access the previous secured page (the one i've logged out) Quote Link to comment Share on other sites More sharing options...
tarun Posted June 24, 2007 Share Posted June 24, 2007 The Answer Is You Can't Theres One Method... <SCRIPT LANGUAGE="JavaScript"> function goNewWin() { //***Get what is below onto one line*** window.open("non59EC.htm",'TheNewpop','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1'); //***Get what is above onto one line*** self.close() } </SCRIPT> <A HREF="javascript:goNewWin()">Click to go to a new page</A> It Opens A New Window And Then Close The Old One...Simple There Are Plenty More Though... - Just Search Google Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.