[Catalyst] Do not save session under certain conditions
Duncan Garland
Duncan.Garland at motortrak.com
Mon May 21 15:49:07 GMT 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20120521/8c4ff5a1/attachment.htm
More information about the Catalyst
mailing list