ad_partner_from_cookieWhat it does:
Returns name of template or empty string from the ad_partner cookieDefined in: /web/philip/tcl/ad-partner-defs.tcl
Source code:
set headers [ns_conn headers] set cookie [ns_set get $headers Cookie] if { [regexp {ad_partner=([^;]+)} $cookie {} template_name] && ![empty_string_p $template_name] && [string compare $template_name "expired"] != 0 } { return $template_name } else { return [ad_parameter CookieDefault partner] }