|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to make a safe logout?
Hello everyone,
some time ago I found this Login-script on devarticles. If is supposed to be pretty safe, however: I do have some problems on loginout! Logout on a "stand-alone" pc works well, but login out on a pc that's part of a network in a company, it's still possible to go back to the secure pages by using the browsers back-button. So, my question: is anyone among you able and willing to give me a hint of even (preferebly) the best/safest way to logout from these secured-pages? On top of every page I write this: PHP Code:
This is what the logout-script looks like at the moment: PHP Code:
The login system is like this: login.php: PHP Code:
LoginAction: PHP Code:
IncSession.php is like this: PHP Code:
This is how I create the database-table: Code:
CREATE TABLE tblUsers ( iUser int(10) unsigned NOT NULL auto_increment, sEmail varchar(255) NOT NULL, sPassword varchar(255) NOT NULL, sGUID varchar(32), sData text, PRIMARY KEY (iUser) ) TYPE=MyISAM; Hoping to hear from one of you soon, since I'm thinking about this for so long now...... Greetings Joost ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > how to make a safe logout? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|