On Jan 21, 2007, at 5:49 PM, Tracy12 wrote:


If have a Authentication handler written in perl,

How can count the no of times it has been accessed by clients, (Some think
like no of hits .  Counter).

Is there a specific handler to do this ?

I tried to declare
use vars qw( $SESSION_CLEANUP_COUNTER); and increment within the code doent
seem to work,

Shoud i increment this in a specific hanlder.

Thanks


variables in modperl are copy on write. that means $SESSION_CLEANUP_COUNTER is independent to each apache child.
you need to look for shared memory modules on cpan, or use a database.



// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Reply via email to