From: Boris Z. <bz...@2b...> - 2004-11-19 14:29:32
|
Hi, Am 19.11.2004 um 15:09 schrieb Alex Deva: > Hi, > > Can I access the 'referral' field, or indeed the HTTP request header > at all? > There seems to be no method for that (or at least one that would > return a > CGI object, or something) > > Thanks! > Yes, sure. sub xyz { my $model = shift; my $apr = $model->apr; my $referer = $apr->headers_in->{'Referer'}; ... } untested, but least close to this. Have a nice day. -- Boris |