can you get the monitor to initiate a session and re-use it?
That way, you can monitor other portions of the site and not just a no-op URL.
On May 21, 2012, at 8:49 AM, Duncan Garland wrote:
> Hi,
>
> We’ve got some monitoring software installed which is accessing the home page
> of my catalyst app every couple of seconds and flooding the sessions table.
>
> I can recognise the monitor based on the user agent, so I’d like to stop it
> saving the session. Something like:
>
> if ($c->request->user_agent =~ m/HTTP-Monitor/ ) {
> Don’t save the session.
> }
>
> What’s the best way to do this?
>
> Thanks
>
> Duncan
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
Francisco Obispo
email: [email protected]
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
PGP KeyID = B38DB1BE
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/