Possibly, I'll have a chat with a couple of people.

However, it looked from the documentation as though what I proposed was 
possible. It looked like something could be put to the end action to do 
something with finalise_session. I wondered if anybody knew exactly what had to 
be done.

Duncan

-----Original Message-----
From: Francisco Obispo [mailto:[email protected]] 
Sent: 21 May 2012 17:31
To: The elegant MVC web framework
Subject: Re: [Catalyst] Do not save session under certain conditions

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/

_______________________________________________
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/

Reply via email to