PDA

View Full Version : Autologon



michael_s
08-30-2010, 01:10 AM
I just installed the latest release of the autologon contribution in my site. All worked well, except that the logoff page didn't really log me off. Here is a tiny change to make to logoff.php so that the logoff will actually work.

Add this right above // HMCS: End Autologon *****

setcookie("email_address", "", time() - 3600, $cookie_path); // Delete email_address cookie

setcookie("password", "", time() - 3600, $cookie_path); // Delete password cookie

NOTE:
I don't see anywhere to post comments, so I am posting this comment here. The form is forcing me to upload a zip file, so I am uploading an empty one. :-/



More... (http://addons.oscommerce.com/info/338)