Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want to remove session IDs - but only when a bot (user-agent: googlebot, slurp, etc.) is crawling my site (apache + mod_perl).
The session IDs are not generated on the initial page requested (whether index or interior page); but are generated in subsequent links from that requested page.
Example:
page requested:
www*example.org/ (and will appear as such to bots)
links on requested page appear as:
www*example.org/dir1/?sessionID=aa162314bDea53872123
www*example.org/dir2/?sessionID=aa162314bDea53872123
www*example.org/dir3/?sessionID=aa162314bDea53872123
and so on....
Any suggestions, references, or examples of code that has worked for anyone else? I am new at this so simpler is better.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need to remove session IDs
by wolfi (Scribe) on Apr 10, 2004 at 03:16 UTC | |
|
Re: Need to remove session IDs
by nothingmuch (Priest) on Apr 10, 2004 at 00:52 UTC | |
|
Re: Need to remove session IDs
by Fletch (Bishop) on Apr 10, 2004 at 03:18 UTC | |
|
Re: Need to remove session IDs
by Hissingsid (Sexton) on Apr 10, 2004 at 07:26 UTC |