Lokomotive Posted April 20, 2004 Report Share Posted April 20, 2004 Kā var izveidot LogOut funkciju bez Session izmantošanas? Ar Session buutu jau viegli - atliktu tik izmainīt sesijas numuru i vsjo. Par loga aizvēršanu aizmirsīsim.. - tas katram ēzelītim skaidrs ;) Bet vai Logout nevar izveidot arī kā savādāk?? Link to comment Share on other sites More sharing options...
Aleksejs Posted April 20, 2004 Report Share Posted April 20, 2004 Ņemot vērā, ka tevi interesē tikai logout - var secināt, ka ar "log in" esi ticis galā... Acīmredzot tev ir jāiznīcina tie dati, uz kuriem balstoties login fnkcija tevi ir ielaidusi iekšā... Īsāk sakot, pastāsti, kā login norealizēji. Link to comment Share on other sites More sharing options...
Lokomotive Posted April 20, 2004 Author Report Share Posted April 20, 2004 Īsāk sakot, pastāsti, kā login norealizēji. Tas i viselementārākais login - ar PHP_AUTH metodi. Link to comment Share on other sites More sharing options...
justus Posted April 20, 2004 Report Share Posted April 20, 2004 raadi kodu!!! Link to comment Share on other sites More sharing options...
Aleksejs Posted April 20, 2004 Report Share Posted April 20, 2004 (edited) http://lv.php.net/features.http-auth Both Netscape Navigator and Internet Explorer will clear the local browser window's authentication cache for the realm upon receiving a server response of 401. This can effectively "log out" a user, forcing them to re-enter their username and password. Some people use this to "time out" logins, or provide a "log-out" button. Plus vari paskatīties kaut vai PHPMyAdmin kodu - tur arī ar HTTP autentifikāciju viss notiek. Edited April 20, 2004 by Aleksejs Link to comment Share on other sites More sharing options...
Ugga Posted April 21, 2004 Report Share Posted April 21, 2004 skotot phpmyADMIN kodu isteniiba daudz ko pats var iemaaciities! :) (ja maacaas pats) Link to comment Share on other sites More sharing options...
Recommended Posts