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 thinklike no of hits . Counter). Is there a specific handler to do this ? I tried to declareuse vars qw( $SESSION_CLEANUP_COUNTER); and increment within the code doentseem 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| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.