[ic] Re: 301ing robots accessing a session

Peter peter at pajamian.dhs.org
Wed Aug 29 18:44:17 EDT 2007

On 08/29/2007 02:25 PM, Grant wrote:
>> I'd like to 301 redirect any robot that accesses one of my pages with
>> a session ID in the URI.  This could happen from the spider following
>> a link to one of my pages from another site which includes the session
>> ID.
>> The session ID is the only query string I use at all, so that could
>> make it simpler.  I can use [data session spider] to make the spider
>> determination and [bounce status="301"] to redirect, but how can I
>> determine if a session ID or (alternatively) a query string is
>> included with the request?
> Got this going with [env QUERY_STRING].

Not positive about this, but I think you should be able to tell with
$CGI->{id} as well.


More information about the interchange-users mailing list