"John D. Leonard II" wrote:
>
> Joshua:
>
> Is there any way to access the amount of time left for a particular session?
>
> I realize that I do it myself by storing the time that the last script was
> executed into $Session during Script_OnStart, but was wondering if
> Apache::ASP tracked this information with the $Session itself.
>
> I'm playing around with the ASP model for watching who is currently active
> within an application. I currently track the number of active sessions,
> their last used IP address (from $Request->ServerVariables), and the number
> of scripts accessed. See: http://traffic.ce.gatech.edu/
>
There is no API for this, so the way you are doing it is
probably best. Note that if you are storing big data per key
in $Session or $Application, then you'll want to switch to
MLDBM::Sync::SDBM_File or DB_File for you StateDB, to
avoid the key/value 1024 byte limit on SDBM_File.
-- Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks <- Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]