### <%$user%> Logged Out

<%init> my $user = $m->session->{user}; my $userip = $r->connection->remote_ip; $m->session->{_logged_in} = 0; # Log Logout insert_or_update('user_log',{}, {'username'=>$m->session->{user},'event'=>'logout', 'userip'=>$userip}); delete $m->session->{user}; delete $m->session->{user_port_ctl}; delete $m->session->{user_admin}; delete $m->session->{start}; <%method title> - Logout \ %# $Id: logout.html,v 1.4 2004/09/25 03:56:13 maxbaker Exp $ %# vim:syntax=mason