#################################################### # AOL.com button.adp # Version 2.0 Modified 11/15/02 # # Reads VL5 headers and output a singout image and link. # Outputs nothing if used in AOL browser since you # can't log out of AOL via a browser link. # #################################################### <% set head [ns_conn headers] set realm [ns_set iget $head "RPAREALMNAME"] if {[string match "" $realm ]} { # If Realm is blank (no VL5) so check cookies for SNS authentication set docCookies [ns_set iget [ ns_conn headers ] cookie ] if { [ string match "*MC_CMP_ESKX*" $docCookies] && [ string match "*MC_CMP_ESK*" $docCookies]} { #SNS cookies present so user is logged in. Output SNS Signout button ns_puts "document.write(\"Sign Out\");" } }