[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Session Referer not as Expected
I like it! Thanks!
-- orko
On Sat, 2002-03-30 at 12:35, Kevin Walsh wrote:
> >
> > Is there somewhere central that I could tell IC to reset the referer if
> > it has changed, is valid and is not a cart referer?
> >
> You could try something like this in your catalog.cfg file:
>
> Autoload <<EOA
> [perl]
> my $r = $Tag->env('HTTP_REFERER');
> if ($r && $r !~ /^($Config->{VendURL}|$Config->{SecureURL})/){
> $Session->{referer} = $r;
> }
> [/perl]
> EOA
>
> --
> _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
> _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
> _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
> _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
>
>
>
>
>
--
Office: (360)697-1603
Cell: (360)271-0796