Login Logoff Again, Navigation Issues |
Login Logoff Again, Navigation Issues |
SBH |
Aug 26 2015, 07:29 AM
Post
#1
|
Member Group: Members Posts: 82 Joined: 6-February 15 Member No.: 22,158 |
This may be way too basic, but how do I after logging into a website, ensure that either the back button in my browser is disabled, or that should I hit the back button, I'm not taken back to the login page again.
PS: I'm using PHP with PDO. Thanks. Regards, SBH |
CharlesEF |
Aug 26 2015, 02:06 PM
Post
#2
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
I have never done this but a google search for 'do not cache page' should point you in the right direction.
|
SBH |
Aug 28 2015, 12:53 AM
Post
#3
|
Member Group: Members Posts: 82 Joined: 6-February 15 Member No.: 22,158 |
I have never done this but a google search for 'do not cache page' should point you in the right direction. Did that, and copied a no-cache code to include it in the PHP script of the page that loads after logging in. Yet, the back button still loads the login page (i.e. the one containing the user name & password fields). Wonder what I'm doing wrong. |
CharlesEF |
Aug 28 2015, 01:36 AM
Post
#4
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
|
SBH |
Aug 28 2015, 02:43 AM
Post
#5
|
Member Group: Members Posts: 82 Joined: 6-February 15 Member No.: 22,158 |
|
Lo-Fi Version | Time is now: 18th April 2024 - 10:48 PM |