#!./tclsh # # and any global config # source ./alpine.tcl cgi_eval { cgi_input if {[catch {cgi_import serverid}]} { set serverid 0 } catch {cgi_import logerr} cgi_http_head { WPStdHttpHdrs # clear cookies cgi_cookie_set sessid=0 expires=now } if {[info exists env(REMOTE_USER)]} { set log_text [font class=notice "Protect your privacy![cgi_nl]When you finish, [cgi_url "completely exit your Web browser" http://www.washington.edu/computing/web/logout.html class=notice]."] append log_text "[cgi_nl][cgi_nl]Or you may want to:" append log_text "
${log_text}" } WPInfoPage "Logged Out" "[font size=+2 face=Helvetica "Thank you for using Alpine"]" $log_text $log_url }